100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached 4.2 TrustPilot
logo-home
Other

pro questions on sql field

Rating
-
Sold
-
Pages
59
Uploaded on
16-01-2025
Written in
2024/2025

The document provides an overview of key concepts related to databases and SQL. It explains ACID properties (Atomicity, Consistency, Isolation, Durability), which ensure transaction reliability. It describes the SQL STUFF() function, which modifies strings by deleting and inserting parts. The document includes a SQL query example to retrieve movies with odd-numbered IDs and descriptions not labeled as 'boring', ordered by rating. Additionally, it outlines how to implement various types of relationships (one-to-one, one-to-many, many-to-many) in database table design, highlighting the use of primary and foreign keys and junction tables.

Show more Read less
Institution
University Of The People
Course
CS2203











Whoops! We can’t load your doc right now. Try again or contact support.

Written for

Institution
University Of The People
Course
CS2203

Document information

Uploaded on
January 16, 2025
Number of pages
59
Written in
2024/2025
Type
Other
Person
Unknown

Subjects

Content preview

SQL Interview Questions
1. What is SQL?
Structured Query Language is a database tool which is used to create and access database to
support software application.

2. What are different types of statements supported by SQL?




3. What is DBMS?
A Database Management System (DBMS) is a program that controls creation,
maintenance and use of a database.

,DBMS can be termed as File Manager that manages data in a database rather
than saving it in file systems.
4. What is RDBMS?
RDBMS stands for Relational Database Management System. RDBMS store
the data into the collection of tables, which is related by common fields
between the columns of the table. It also provides relational operators to
manipulate the data stored into the tables.
Example: SQL Server.
5. Why do we use SQL constraints? Which constraints we can use while creating
database in SQL?
Constraints are used to set the rules for all records in the table. If any
constraints get violated then it can abort the action that caused it.
Constraints are defined while creating the database itself with CREATE
TABLE statement or even after the table is created once with ALTER
TABLE statement.
There are 5 major constraints are used in SQL, such as:
 NOT NULL: That indicates that the column must have some value and
cannot be left null
 UNIQUE: This constraint is used to ensure that each row and column
has unique value and no value is being repeated in any other row or
column
 PRIMARY KEY: This constraint is used in association with NOT
NULL and UNIQUE constraints such as on one or the combination of
more than one column to identify the particular record with a unique
identity.
 FOREIGN KEY: It is used to ensure the referential integrity of data in
the table and also matches the value in one table with another using
Primary Key
 CHECK: It is used to ensure whether the value in columns fulfills the
specified condition
6. What are different JOINS used in SQL?

,
,
R180,49
Get access to the full document:

100% satisfaction guarantee
Immediately available after payment
Both online and in PDF
No strings attached

Get to know the seller
Seller avatar
gracemmuiruri

Get to know the seller

Seller avatar
gracemmuiruri Teachme2-tutor
Follow You need to be logged in order to follow users or courses
Sold
0
Member since
11 months
Number of followers
0
Documents
2
Last sold
-

0,0

0 reviews

5
0
4
0
3
0
2
0
1
0

Recently viewed by you

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their exams and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can immediately select a different document that better matches what you need.

Pay how you prefer, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card or EFT and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Frequently asked questions