Sol-Structured Query Language: Nofnuldwith Ifop Screun Kacorder
Sol-Structured Query Language: Nofnuldwith Ifop Screun Kacorder
com/2023/04/-xplore-2023-sq-mcq-questicn-forhtm
G Shopping Maps SSenens Crers
Cick Here Subscribe to click <eecc
Insert Values:
INSERTINTO Students (1DNAME AGEADDRESS SALARY)
VALUES (1. Ramest, 32'Ahmedabad., 2000.00 )
ma
naithanjaanblogspot.com/2023/04/-xplore-2023-sql-mca-questicn-fochtm
G Shopping Maps S Semens Carers
b NUMERIC
c DECIMAL
d CHARACTER edwith iTop Screen Recorder
Ans: Decimal
c CREATE
d UPDATE
naithanjaanblogspot.com/2023/04/s-plore-2023-sql-mcq-question-fochtml
GShopping Maps S Sees Caees
2 Which of the following ls not a DOL command?
a TRUNCATE
b. ALTER
c CREATE
d UPDATE
Ans:d
Explanation : DOL commaids aro used io Getne the strcure of thé databask: table, schemas, et
to perform the operations like CREATE. DROP, ALTER, RENAME. and TRUNCATE Schema objects.
An UPDATE command is used for managing the data stored in a database. It is an example of a
that also includes the INSERT and DELETE Commands.
a Only 1
b Only 2
e Depends on no of Columns
Depends onDBA
Explanation: DOL commands are used to define the structure of the database, table, schemas, etc
to pertorm the operations like CREATE, DROP, ALTER, RENAME, and TRUNCATE schema objects.
An UPDATE command is used for managing the data stored ina database. Itis an example of a DM
that also includes the INSERT and DELETE commands.
Ans:a
aPrimary key can store null value, whereas aunique key cannot store null value.
b We can have only one primary key in a table while we can have multiple unique keys
c Primary key cannot be a date variable whereas unique key can be
rjaan blogspotcom2023/ots-plore-2023-sql-mcq-question-forhtm
hogping Mags E Senens Careers
d. Depends on DBA
Ans:a
Q4. What is the difference between a PRIMARY KEY and a UNIQUE KEY?
a Primary key can store null value, whereas a unique key cannot store null value.
b We can hahonly one primary key in atable wthile we can have multiple unique keys
c Primary key cannot be a date variable whereas unique key can be
d None of these
Recorded with iTop Scresn Recorder
Ans:b
d ALTERNATE KEY
Ans:d
logspot.com/2023/04/t-xplore-2023-sql-mcg-questicn-fochem
Maps B SemensCeers
GYANuith ANJAAN
Ans:d
Q6. ind the cities name with the condition and temperature from table whether where condition sunny or
cloudy but temperature >n 60.
a SELECT city, temperature, condition FROM weather WHERE condition cloudy AND condition sunny OR
temperature >60 Recorded with iTop Screen Recorder
b SELECT city, temperature,condition FROM weather WHERE condition 'cloudy OR condition sunny OR
temperature > 60
c SELECT city,temperature, condition FROM weather WHERE condition 'sunny OR condition cloudy AND
temperature > 60
d SELECT city, temperature,condition FROM weather WHERE Condition sunny AND Condition cloudy AND
temperature > 60
Ans:c
Ans: 4(CRUD)
create, read, update and geletop Screan
Recorder
Q11. What is a table joined with itself called?
Ans: Selfjoin
SUM
d MAX Recorded with ifop Screen Recorder
THANK YOU
Act
Go to