SQL and PL/SQL Question: Download SQL and PL/SQL PDF

SELECT statements in SQL?

Tweet Share WhatsApp

Answer:

SELECT column_name(s) FROM table_name
SELECT DISTINCT column_name(s) FROM table_name
SELECT column FROM table WHERE column operator value
SELECT column FROM table WHERE column LIKE pattern
SELECT column,SUM(column) FROM table GROUP BY column
SELECT column,SUM(column) FROM table GROUP BY column HAVING SUM(column) condition value
Note that single quotes around text values and numeric values should not be enclosed in quotes. Double quotes may be acceptable in some databases.

Download SQL and PL/SQL PDF Read All 45 SQL and PL/SQL Questions
Previous QuestionNext Question
Operators used in SELECT statements are?The SELECT INTO Statement is most often used to create backup copies of tables or for archiving records?