1. >Computer Science
Found 5  QuestionsSET DEFAULT
Selected Filters
    Computer Science Query using SQL
Subjects
Topics

List of top Computer Science Questions on Query using SQL

What is the output of the following SQL query ?
SELECT * FROM STUDENTS WHERE SName like ‘%S’ and age > 18;
  • CUET (UG) - 2023
  • CUET (UG)
  • Computer Science
  • Query using SQL
Which of the following statement is NOT correct ?
A. By default, ORDER by clause sorts the result set in decreasing order
B. SUM() function is used to count the total no. of records in a table
C. By default, ORDER BY clause sorts the results set in increasing order
D. AVG() is an aggregrate function
E. The WHERE clause is used to specify filtering conditions for groups
Consider the correct answer from the options given below :
  • CUET (UG) - 2023
  • CUET (UG)
  • Computer Science
  • Query using SQL
What will be returned by the given query ?
SELECT INSTR("DBITBTTSIT", “IT”);
  • CUET (UG) - 2023
  • CUET (UG)
  • Computer Science
  • Query using SQL
What will be the output of the given SQL Query SELECT DAY("2023-03-01);
  • CUET (UG) - 2023
  • CUET (UG)
  • Computer Science
  • Query using SQL
Mohan wants to display all the attributes and all the tupIes of the table 'Teacher', help him to choose the correct SQL statement :
(A) Select % from teacher ; 
(B) Select from teacher ; 
(C) Select all from teacher ; 
(D) Select * from teacher ; 
Choose the correct answer from the options given below :
  • CUET (UG) - 2023
  • CUET (UG)
  • Computer Science
  • Query using SQL