• 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
Which of the following is valid SQL for an Index?

ADD INDEX ID;
CHANGE INDEX ID;
REMOVE INDEX ID;
CREATE INDEX ID;

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 BETWEEN 10000 AND 25000;
SELECT name FROM staffinfo WHERE salary IN (10000, 25000);
None of these
Both A and B

ANSWER DOWNLOAD EXAMIANS APP

Introduction to SQL
A subquery in an SQL SELECT statement:

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

ANSWER DOWNLOAD EXAMIANS APP

Introduction to SQL
If you are going to use a combination of three or more AND and OR conditions, it is often easier to use the NOT and NOT IN operators.

True
False

ANSWER DOWNLOAD EXAMIANS APP

Introduction to SQL
Which of the SQL statements is correct?

None of these
SELECT Username, Password FROM Users
SELECT Username, Password WHERE Username = 'user1'
SELECT Username AND Password FROM Users

ANSWER DOWNLOAD EXAMIANS APP

Introduction to SQL
To sort the results of a query use:

GROUP BY.
ORDER BY.
SORT BY.
None of these

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
↑