Select Query
- What will be the output of a query given below?
SELECT * FROM Employee
WHERE Employee_id=1;
-
View Hint View Answer Discuss in Forum
NA
Correct Option: C
Clause “WHERE” is also used, which tell the compiler to show only that rows which belong to Employee_id=1.
- What will be the output of a query given below?
SELECT *
FROM Employee;
-
View Hint View Answer Discuss in Forum
NA
Correct Option: B
“SELECT” clause is used to show all rows or columns.
- What is the meaning of “SELECT” clause in Mysql?
-
View Hint View Answer Discuss in Forum
NA
Correct Option: C
Show me all Columns and rows
- Which of the following clause is evaluated in the last by database server?
-
View Hint View Answer Discuss in Forum
NA
Correct Option: B
“SELECT” clause is used to show all rows or columns therefore it evaluated at last.
- Is there any error in executing the following query?
SELECT USER (),
VERSION (), DATABASE ();
-
View Hint View Answer Discuss in Forum
NA
Correct Option: C
Clause “FROM” is not necessary when we used “Built in” function with “SELECT” clause.