SQL

Quiz
•
Computers
•
11th - 12th Grade
•
Easy
farroukh Nadeem
Used 24+ times
FREE Resource
20 questions
Show all answers
1.
OPEN ENDED QUESTION
45 sec • 1 pt
Which command is used t o add new row in a table?
Evaluate responses using AI:
OFF
Answer explanation
insert
syntax of this command is
insert into <table name> values <(val1, val2,......);
ex:
insert into emp values( 1, 'Harry, 10000);
2.
OPEN ENDED QUESTION
45 sec • 1 pt
Which command is used to change the schema of the the table?
Evaluate responses using AI:
OFF
Answer explanation
alter table <table name> [add] [modify][change][drop] <col. description>;
3.
OPEN ENDED QUESTION
45 sec • 1 pt
Which command is used to change the values of columns in SQL?
Evaluate responses using AI:
OFF
Answer explanation
update command
syntax:
update <table name> set <column name> = <value>, <col-name>=<value>,..... where <condition>;
4.
OPEN ENDED QUESTION
45 sec • 1 pt
A table customer contains 5 rows and 7 columns. what will be its caardinality and degree?
Evaluate responses using AI:
OFF
Answer explanation
Degree: Number of attributes
Cardinality: Number of rows
degree 7, Cardinality 5
5.
OPEN ENDED QUESTION
45 sec • 1 pt
What is Primary key?
Evaluate responses using AI:
OFF
Answer explanation
A column or a set of columns which can uniquely identify a row in a relation. Primary key cannot have Null values
6.
OPEN ENDED QUESTION
45 sec • 1 pt
Define foreign key?
Evaluate responses using AI:
OFF
Answer explanation
it is a collumn that references the primary key of another table.
7.
OPEN ENDED QUESTION
1 min • 1 pt
Write two differences between DDL and DML commands of SQL.
Evaluate responses using AI:
OFF
Answer explanation
DDL STAND FOR DATA DEFINATION LANGUAGE
DML STAND FOR DATA MANIPULATION LANGUAGE
DDL USED TO CREATE, MODIFY OR DELETE STRUCTURE OF THE TABLE
DML UED TO MANIPULATE RECORDS OF THE TABLE
Create a free account and access millions of resources
Similar Resources on Wayground
18 questions
Word Tables and Tabs

Quiz
•
4th - 11th Grade
20 questions
EVALUASI DDL

Quiz
•
11th Grade
15 questions
BTEC unit 2 databases - key terms

Quiz
•
12th Grade
20 questions
MYSQL

Quiz
•
11th Grade
20 questions
Understanding Inner Joins in SQL

Quiz
•
9th Grade - University
16 questions
Ficha de SQL

Quiz
•
10th - 12th Grade
15 questions
Word Lesson 6

Quiz
•
9th - 12th Grade
20 questions
Access Quiz

Quiz
•
9th - 12th Grade
Popular Resources on Wayground
18 questions
Writing Launch Day 1

Lesson
•
3rd Grade
11 questions
Hallway & Bathroom Expectations

Quiz
•
6th - 8th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
19 questions
Handbook Overview

Lesson
•
9th - 12th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
Discover more resources for Computers
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
19 questions
Handbook Overview

Lesson
•
9th - 12th Grade
40 questions
LSHS Student Handbook Review: Pages 7-9

Quiz
•
11th Grade
20 questions
Scalars, Vectors & Graphs

Quiz
•
11th Grade
62 questions
Spanish Speaking Countries, Capitals, and Locations

Quiz
•
9th - 12th Grade
10 questions
Solving Equations Opener

Quiz
•
11th Grade
20 questions
First Day of School

Quiz
•
6th - 12th Grade
6 questions
Maier - AMDM - Unit 1 - Quiz 1 - Estimation

Quiz
•
12th Grade