SQL Topic

SQL Basics Practise 1

Question 1: Which SQL statement is used to retrieve data from a database?

Question 2: Which SQL clause is used to filter records?

Question 3: Which SQL keyword is used to sort the result set?

Question 4: Which of the following is used to insert new data into a table?

Question 5: Which SQL statement is used to update existing records in a table?

Question 6: Which function is used to count the number of rows in a table?

Question 7: Which operator is used to search for a specified pattern in a column?

Question 8: Which of the following finds the highest value in a column?

Question 9: Which keyword is used to eliminate duplicate rows from the result set?

Question 10: Which function calculates the average value of a numeric column?

Question 11: Which join returns all records from the left table and matched records from the right table?

Question 12: Which join returns only the records that have matching values in both tables?

Question 13: What is used to create a relationship between two tables?

Question 14: Which constraint ensures that a column cannot have NULL values?

Question 15: Which SQL statement is used to create a new table?

Question 16: Which SQL statement is used to delete a table from a database?

Question 17: Which constraint uniquely identifies each record in a table?

Question 18: Which clause is used to group rows that have the same values?

Question 19: Which clause is used to filter groups in a GROUP BY clause?

Question 20: Which wildcard character represents zero or more characters in a LIKE pattern?

Comments (0)

No comments yet. Be the first to comment!

LecturreAI Assistant

Hello! I'm LecturreAI

What would you like to learn today?