
infy

Quiz
•
Computers
•
University
•
Hard
NV CHALLA
Used 2+ times
FREE Resource
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
1. Which SQL command creates a table named Employees with columns EmpID (integer) and EmpName (varchar 50)?
CREATE TABLE Employees (EmpID INT, EmpName VARCHAR(50));
CREATE Employees TABLE (EmpID INT, EmpName VARCHAR(50));
TABLE CREATE Employees (EmpID INT, EmpName VARCHAR(50));
CREATE TABLE Employees (EmpID VARCHAR(50), EmpName INT);
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
2. How to add a new column JoiningDate of type DATE to the Employees table?
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
3. What will this query do? DELETE FROM Employees WHERE EmpID = 100;
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
4. How do you rename the column EmpName to EmployeeName in the Employees table?
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
5. Which query inserts a new employee with EmpID = 10 and EmpName = 'Rahul'?
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
6. What will this query do?
UPDATE Employees SET EmpName = 'Sonia' WHERE EmpID = 5;
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
7. How to delete all data from Employees without deleting the table?
Create a free account and access millions of resources
Similar Resources on Wayground
20 questions
SQL_2

Quiz
•
University
19 questions
SQL4-Join/aggregate functions/group by

Quiz
•
University
20 questions
DBMS Quiz

Quiz
•
University
18 questions
Normalization of Data Quiz

Quiz
•
12th Grade - University
15 questions
DBMS_Quiz_1

Quiz
•
University
20 questions
Database

Quiz
•
12th Grade - University
20 questions
Classes Relationships in Java Programming

Quiz
•
University
23 questions
SQL

Quiz
•
12th Grade - Professi...
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