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

SQL interview Questions with 100% correct answers

Rating
-
Sold
-
Pages
9
Grade
A+
Uploaded on
25-12-2023
Written in
2023/2024

Q. How do you select all records from the table? - Select * from table_name; Q. What is a join? - Join is a process of retrieve pieces of data from different sets (tables) and returns them to the user or program as one "joined" collection of data. How do you add record to a table? - INSERT into table_name VALUES ('ALEX', 33 , 'M'); Q. How do you add a column to a table? - ALTER TABLE Department ADD (AGE, NUMBER); Q. How do you change value of the field? - A. UPDATE EMP_table set number = 200 where item_munber = 'CD'; update name_table set status = 'enable' where phone = ''; update SERVICE_table set REQUEST_DATE = to_date (':29', 'yyyy-mm-dd hh24:MM') where phone = ''; What does COMMIT do? - Saving all changes made by DML statements What is a primary key? - The column (columns) that has completely unique data throughout the table is known as the primary key field. What are foreign keys? - Foreign key field is a field that links one table to another table's primary or foreign key. What is the main role of a primary key in a table? - The main role of a primary key in a data table is to maintain the internal integrity of a data table. Can a table have more than one foreign key defined? - A table can have any number of foreign keys defined. It can have only one primary key defined. Q. List all the possible values that can be stored in a BOOLEAN data field. - There are only two

Show more Read less
Institution
AWS Database Speciality
Course
AWS Database speciality









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

Written for

Institution
AWS Database speciality
Course
AWS Database speciality

Document information

Uploaded on
December 25, 2023
Number of pages
9
Written in
2023/2024
Type
Exam (elaborations)
Contains
Questions & answers

Subjects

$2.99
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
AmeliaLiam

Get to know the seller

Seller avatar
AmeliaLiam California State University
View profile
Follow You need to be logged in order to follow users or courses
Sold
0
Member since
1 year
Number of followers
0
Documents
144
Last sold
-
Amelia

Welcome all to my Stuvia store for quality and up to date academic resources offered by seller Amelia. Feel free to give your feedback on your take about my resources; THANK YOU!

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 tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card 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