Sql interview questions and answers for freshers pdf
11 views 0 purchase
Course
Sql
Institution
Sql
Sql interview questions and answers for freshers pdf
What is sql?
Structured Query Language (SQL) is a language that provides an interface to relational database
systems. SQL was developed by IBM in the 1970s for use in System R, and is a de facto standard, as well
as an ISO and ANSI standa...
Sql int erview quest ions and answ ers for freshers pdf
What is sql?
Structured Query Language (SQL) is a language that provides an interface to relational database
systems. SQL w as developed by IBM in the 1970s for use in System R, and is a de facto standard, as w ell
as an ISO and ANSI standard. SQL is often pronounced SEQUEL.
In common usage SQL also encompasses
DM L (Data M anipulation Language), for INSERTs, UPDATEs, DELETEs and DDL (Data Definition
Language), used for creating and modifying tables and other database structures.
The development of SQL is governed by standards. A major revision to the SQL standard w as completed
in 1992, called SQL2. SQL3 support object extensions and are (partially?) implemented in Oracle8 and 9.
Sql interview questions:
1. Which is the subset of SQL commands used to manipulate Oracle Database structures, including
tables?
Data Definition Language (DDL)
2. What operator performs pattern mat ching?
LIKE operator
3. What operator tests column for the absence of data?
IS NULL operator
4. Which command executes the contents of a specified file?
START <filename> or @<filename>
5. What is the parameter substitution symbol used w ith INSERT INTO command?
&
6. Which command displays the SQL command in the SQL buffer, and then executes it?
RUN
7. What are the w ildcards used for pattern matching?
_ for single character substitution and % for multi-character substitution
8. State true or false. EXISTS, SOM E, ANY are operators in SQL.
True
9. State true or false. !=, <>, ^ = all denote the same operation.
True
10. What are the privileges that can be granted on a table by a user to others?
Insert, update, delete, select, references, index, execut e, alter, all
11. What command is used t o get back the privileges offered by the GRANT command?
REVOKE
The benefits of buying summaries with Stuvia:
Guaranteed quality through customer reviews
Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.
Quick and easy check-out
You can quickly pay through credit card or Stuvia-credit for the summaries. There is no membership needed.
Focus on what matters
Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!
Frequently asked questions
What do I get when I buy this document?
You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.
Satisfaction guarantee: how does it work?
Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.
Who am I buying these notes from?
Stuvia is a marketplace, so you are not buying this document from us, but from seller StudyCenter1. Stuvia facilitates payment to the seller.
Will I be stuck with a subscription?
No, you only buy these notes for $13.49. You're not tied to anything after your purchase.