Please enter your details here.
SQL can be used to
What is the SQL query used to retrieve all the data from the customer table?
Which of the following database cannot be dropped?
Which one is not part of the Database backup file?
Which file type is used for database backup?
Identify the average salary of the jobs 'MANAGER' and 'ANALYST'. Display job, average salary if the identified average salary is more than 1500.
Select two options which do not belong to the Purpose of Delete
How to delete the Customer name of Alfreds Futterkiste (CustomerID is 1) from the Customers table?
What is the meaning of the “ORDER BY” clause in MySQL?
Select ID, name, dept name, salary * 1.1 where instructor;
The query given below will not give an error. Which one of the following has to be replaced to get the desired output?
Find the name of these cities with temperature and condition whose condition is neither sunny nor cloudy
Syntax for create a views is _______
You can delete a view with _____________ Command.
Analyse the following Query and Mark the answer whether it's the correct query or not?
Find the names of the countries whose condition is sunny
Which syntax is used for Drop Index (idx_pname) from the Person table in MYSQL?
You need to find out the names of all employees who belong to the same department as the employee 'Jessica Butcher' who is in department 100 and has an employee ID 40. Which of the following queries will be correct?
Which of the SQL statement is correct?
What can be the condition in the "WHERE" clause in a SQL query?
Which SQL keyword is used to sort the result-set?
Can you validate the statement?
"ORDER BY" can only be used by WHERE Clause.
True or False?
What is the significance of the statement of the below query?
With SQL, how do you select all the records from a table named "Persons" where the value of the column "Firstname" ends with an ''a''?
The SQL WHERE clause used for
Which command is used to change the definition of a table in SQL ?
The _______ clause allows us to select only those rows in the result relation of the ____ clause that satisfy a specified predicate.
What is the meaning of the “HAVING” clause in MySQL?
If emp_id contains the following set {-1, -2, 2, 3, -3, 1}, what will be the output on the execution of the following MySQL statement?
How to create index idx_pname for multiple columns (Lastname, Firstname) in a Person table?
We can use one table to create another table using the below query. True or False ?
CREATE TABLE TestTable AS
SELECT customername, contactname
FROM customers;
Which of the following is true about sub-queries?
What is "Subquery"?
A subquery in an SQL SELECT statement is enclosed in
Which of the following multi-row operators can be used with a sub-query?
A subquery can be used anywhere an expression is allowed.
A ______ index is created based on only one table column.
We can use the index on columns that contain a high number of NULL values.
Which one of the following can be taken as a Primary Key?
A column with a Unique key has duplicate values.
Student (ID, Name, Dept_name, Total_credit)
In this above query which attribute form the Primary Key?
In which two cases would you use an outer join? (Choose two.)
Choose the query that matches the above image.
Analyze the following tables and output and choose the correct query to achieve the output.
Evaluate this SQL statement:
Which SQL statement is equivalent to the above SQL statement?
Statement: Join for each row of one table to every row of another table.
Which Join?
What is the function of Full Outer Join in SQL?
What is the syntax for joining two tables? Pick Two
List all orders, showing order number, customer name and credit limit of a customer.
Which of the below query satisfy the above question?
Where are Joins used?
What values does the count(*) function ignore?
Use below table (Salesemployee) and answer the following question
What is the output of the following query?
Which SQL keyword is used to retrieve a maximum value?
Which among the following belongs to an “aggregate function”?