• HOME
  • QUIZ
  • CONTACT US
EXAMIANS
  • COMPUTER
  • CURRENT AFFAIRS
  • ENGINEERING
    • Chemical Engineering
    • Civil Engineering
    • Computer Engineering
    • Electrical Engineering
    • Mechanical Engineering
  • ENGLISH GRAMMAR
  • GK
  • GUJARATI MCQ

Introduction to SQL

Introduction to SQL
The SQL statementSELECT ROUND(45.926, -1) FROM DUAL;

prints 50
prints garbage
prints 045.926
is illegal

ANSWER DOWNLOAD EXAMIANS APP

Introduction to SQL
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?

SELECT name FROM staffinfo WHERE salary IN (10000, 25000);
None of these
Both A and B
SELECT name FROM staffinfo WHERE salary BETWEEN 10000 AND 25000;

ANSWER DOWNLOAD EXAMIANS APP

Introduction to SQL
The command to remove rows from a table 'CUSTOMER' is:

DROP FROM CUSTOMER ...
UPDATE FROM CUSTOMER ...
REMOVE FROM CUSTOMER ...
DELETE FROM CUSTOMER WHERE ...

ANSWER DOWNLOAD EXAMIANS APP

Introduction to SQL
The SELECT statement SELECT 'Hi' FROM DUAL WHERE NULL = NULL; Outputs

Nothing
FLASE
Hi
TRUE

ANSWER DOWNLOAD EXAMIANS APP

Introduction to SQL
A subquery in an SQL SELECT statement:

cannot have its results sorted using ORDER BY.
has a distinct form that cannot be duplicated by a join.
can always be duplicated by a join.
can only be used with two tables.

ANSWER DOWNLOAD EXAMIANS APP

Introduction to SQL
The SQL keyword GROUP BY instructs the DBMS to group together those rows that have the same value in a column.

True
False

ANSWER DOWNLOAD EXAMIANS APP
MORE MCQ ON Introduction to SQL

DOWNLOAD APP

  • APPLE
    from app store
  • ANDROID
    from play store

SEARCH

LOGIN HERE


  • GOOGLE

FIND US

  • 1.70K
    FOLLOW US
  • EXAMIANSSTUDY FOR YOUR DREAMS.
  • SUPPORT :SUPPORT EMAIL ACCOUNT : examians@yahoo.com

OTHER WEBSITES

  • GUJARATI MCQ
  • ACCOUNTIANS

QUICK LINKS

  • HOME
  • QUIZ
  • PRIVACY POLICY
  • DISCLAIMER
  • TERMS & CONDITIONS
  • CONTACT US
↑