Find all the cities with temperature, condition and humidity whose humidity is in the range of 63 to 79
Find all the cities with temperature, condition and humidity whose humidity is in the range of 63 to 79
Which of the following is a valid SQL type?
Which of the following is a valid SQL type?
The SQL statement
SELECT SUBSTR('123456789', INSTR('abcabcabc', 'b'), 4) FROM DUAL;
The SQL statement
SELECT SUBSTR('123456789', INSTR('abcabcabc', 'b'), 4) FROM DUAL;
Which of the following query finds the names of the sailors who have reserved at least one boat?
Which of the following query finds the names of the sailors who have reserved at least one boat?
Select the right statement to insert values to the student table.
Select the right statement to insert values to the student table.
Which of the following is illegal?
Which of the following is illegal?
Find the name of those cities with temperature and condition whose condition is either sunny or cloudy but temperature must be greater than 70oF.
Find the name of those cities with temperature and condition whose condition is either sunny or cloudy but temperature must be greater than 70oF.
Find the name of cities with all entries whose temperature is in the range of 71 and 89
Find the name of cities with all entries whose temperature is in the range of 71 and 89
Find the names of the countries whose condition is sunny.
Find the names of the countries whose condition is sunny.
'AS' clause is used in SQL for
'AS' clause is used in SQL for
Which of the following is the original purpose of SQL?
Which of the following is the original purpose of SQL?
Which of the following group functions ignore NULL values?
Which of the following group functions ignore NULL values?
SQL can be used to:
SQL can be used to:
Which of the following SQL commands is used to retrieve data?
Which of the following SQL commands is used to retrieve data?
A subquery in an SQL SELECT statement is enclosed in:
A subquery in an SQL SELECT statement is enclosed in:
The SQL ALTER statement can be used to:
The SQL ALTER statement can be used to:
Which of the following query finds the name of the sailors who have reserved at least two boats?
Which of the following query finds the name of the sailors who have reserved at least two boats?
What SQL command can be used to delete columns from a table?
What SQL command can be used to delete columns from a table?
In SQL, which command(s) is(are) used to change a table's storage characteristics?
In SQL, which command(s) is(are) used to change a table's storage characteristics?
What is the meaning of LIKE '%0%0%'
What is the meaning of LIKE '%0%0%'
In SQL, which of the following is not a data definition language commands?
In SQL, which of the following is not a data definition language commands?
Find the temperature in increasing order of all cities
Find the temperature in increasing order of all cities
Which of the following query is correct for using comparison operators in SQL?
Which of the following query is correct for using comparison operators in SQL?
When using the SQL INSERT statement:
When using the SQL INSERT statement:
Which SQL keyword is used to retrieve only unique values?
Which SQL keyword is used to retrieve only unique values?
Which of the following SQL query is correct for selecting the name of staffs from 'staffinfo' table where salary is 10,000 or 25,000?
Which of the following SQL query is correct for selecting the name of staffs from 'staffinfo' table where salary is 10,000 or 25,000?
A command that lets you change one or more fields in a record is
A command that lets you change one or more fields in a record is
What is the full form of SQL?
What is the full form of SQL?
The SQL statement
SELECT ROUND(45.926, -1) FROM DUAL;
The SQL statement
SELECT ROUND(45.926, -1) FROM DUAL;
Which SQL keyword is used to sort the result-set?
Which SQL keyword is used to sort the result-set?
Which is the subset of SQL commands used to manipulate Oracle Database structures, including tables?
Which is the subset of SQL commands used to manipulate Oracle Database structures, including tables?
What operator tests column for the absence of data?
What operator tests column for the absence of data?
Which of the following is a SQL aggregate function?
Which of the following is a SQL aggregate function?
The SQL statement
SELECT SUBSTR('abcdefghij', INSTR('123321234', '2', 3, 2), 2) FROM DUAL;
prints
The SQL statement
SELECT SUBSTR('abcdefghij', INSTR('123321234', '2', 3, 2), 2) FROM DUAL;
prints
............. joins two or more tables based on a specified column value not equaling a specified column value in another table.
............. joins two or more tables based on a specified column value not equaling a specified column value in another table.
The HAVING clause does which of the following?
The HAVING clause does which of the following?
Find all the cities whose humidity is 89
Find all the cities whose humidity is 89
Which SQL statement is used to update data in a database?
Which SQL statement is used to update data in a database?
The SQL keyword(s) ________ is used with wildcards.
The SQL keyword(s) ________ is used with wildcards.
What is an SQL virtual table that is constructed from other tables?
What is an SQL virtual table that is constructed from other tables?
Find the name of all cities with their temperature, humidity and countries.
Find the name of all cities with their temperature, humidity and countries.
-
-
-
-
Which of the following join is also called as an 'inner-join'?
Which of the following join is also called as an 'inner-join'?
Which SQL keyword is used to retrieve a maximum value?
Which SQL keyword is used to retrieve a maximum value?
What is a view?
What is a view?
Which of the following query finds the total rating of the sailors who have reserved boat "103"?
Which of the following query finds the total rating of the sailors who have reserved boat "103"?
Table employee has 10 records. It has a non-NULL SALARY column which is also UNIQUE.
The SQL statement
SELECT COUNT(*) FROM employee WHERE SALARY > ALL (SELECT SALARY FROM EMPLOYEE);
prints
Table employee has 10 records. It has a non-NULL SALARY column which is also UNIQUE.
The SQL statement
SELECT COUNT(*) FROM employee WHERE SALARY > ALL (SELECT SALARY FROM EMPLOYEE);
prints
Table Employee has 10 records. It has a non-NULL SALARY column which is also UNIQUE.
The SQL statement
SELECT COUNT(*) FROM Employee WHERE SALARY > ANY (SELECT SALARY FROM EMPLOYEE);
prints
Table Employee has 10 records. It has a non-NULL SALARY column which is also UNIQUE.
The SQL statement
SELECT COUNT(*) FROM Employee WHERE SALARY > ANY (SELECT SALARY FROM EMPLOYEE);
prints
The SQL keyword BETWEEN is used:
The SQL keyword BETWEEN is used:
If a query involves NOT, AND, OR with no parenthesis
If a query involves NOT, AND, OR with no parenthesis
Which of the following must be enclosed in double quotes?
Which of the following must be enclosed in double quotes?
Find the names of these cities with temperature and condition whose condition is neither sunny nor cloudy
Find the names of these cities with temperature and condition whose condition is neither sunny nor cloudy
-
-
-
-
Which command undo all the updates performed by the SQL in the transaction?
Which command undo all the updates performed by the SQL in the transaction?
Which of the following do you need to consider when you make a table in SQL?
Which of the following do you need to consider when you make a table in SQL?
The wildcard in a WHERE clause is useful when?
The wildcard in a WHERE clause is useful when?
What does the following query find?
(SELECT DISTINCT r.sid
FROM boats b, reserves r
WHERE b.bid = r.bid
AND b.color = 'red')
MINUS
(SELECT DISTINCT r.sid
FROM boats b, reserves r
WHERE b.bid = r.bid
AND b.color = 'green')
What does the following query find?
(SELECT DISTINCT r.sid
FROM boats b, reserves r
WHERE b.bid = r.bid
AND b.color = 'red')
MINUS
(SELECT DISTINCT r.sid
FROM boats b, reserves r
WHERE b.bid = r.bid
AND b.color = 'green')
The command to eliminate a table from a database is:
The command to eliminate a table from a database is:
In SQL, which command is used to SELECT only one copy of each set of duplicable rows
In SQL, which command is used to SELECT only one copy of each set of duplicable rows
Find all the tuples having temperature greater than 'Paris'.
Find all the tuples having temperature greater than 'Paris'.
Let the statement
SELECT column1 FROM myTable;
return 10 rows. The statement
SELECT ALL column1 FROM myTable;
will return
Let the statement
SELECT column1 FROM myTable;
return 10 rows. The statement
SELECT ALL column1 FROM myTable;
will return
The SQL WHERE clause:
The SQL WHERE clause:
The FROM SQL clause is used to...
The FROM SQL clause is used to...
What SQL command can be used to add columns to a table?
What SQL command can be used to add columns to a table?
Which of the SQL statements is correct?
Which of the SQL statements is correct?
The command to remove rows from a table 'CUSTOMER' is:
The command to remove rows from a table 'CUSTOMER' is:
When three or more AND and OR conditions are combined, it is easier to use the SQL keyword(s):
When three or more AND and OR conditions are combined, it is easier to use the SQL keyword(s):
In an SQL SELECT statement querying a single table, according to the SQL-92 standard the asterisk (*) means that:
In an SQL SELECT statement querying a single table, according to the SQL-92 standard the asterisk (*) means that:
In SQL, which command is used to change a table's storage characteristics?
In SQL, which command is used to change a table's storage characteristics?
Which of the following SQL commands can be used to add data to a database table?
Which of the following SQL commands can be used to add data to a database table?
How to select all data from student table starting the name from letter 'r'?
How to select all data from student table starting the name from letter 'r'?
Which of the following command makes the updates performed by the transaction permanent in the database?
Which of the following command makes the updates performed by the transaction permanent in the database?
Count function in SQL returns the number of
Count function in SQL returns the number of
Which operator performs pattern matching?
Which operator performs pattern matching?
The result of a SQL SELECT statement is a ________ .
The result of a SQL SELECT statement is a ________ .
In SQL, which of the following is not a data definition language commands?
In SQL, which of the following is not a data definition language commands?
Which SQL statement is used to delete data FROM a database?
Which SQL statement is used to delete data FROM a database?
Which of the following query finds colors of boats reserved by "Dustin"?
Which of the following query finds colors of boats reserved by "Dustin"?
The SELECT statement SELECT 'Hi' FROM DUAL WHERE NULL = NULL; Outputs
The SELECT statement SELECT 'Hi' FROM DUAL WHERE NULL = NULL; Outputs
Which of the following is NOT a type of SQL constraint?
Which of the following is NOT a type of SQL constraint?