Advertisement
Advertisement
SQL & Querying Quizzes, Questions & Answers
Recent SQL & Querying Quizzes
Questions: 10 | Attempts: 336 | Last updated: Mar 22, 2025
-
Sample QuestionI have a table, Sales, with the Notes field having the Filestream attribute. I run this query: select salesmen, notes into #salestemp from Sales What is the data type of the Notes field in the temporary table?
Questions: 12 | Attempts: 324 | Last updated: Mar 22, 2025
-
Sample QuestionWhich of the following is NOT a commonly accepted rule for joining multiple tables?
Questions: 10 | Attempts: 80 | Last updated: Oct 6, 2025
-
Sample QuestionOut of 4 statements namely 1,2,3,4,5, which of the statement/statements will execute successfully? if object_id('test2') is not null drop table test2 if object_id('test1') is not null drop table test1 create table test1 (a int not null primary key); create table test2 (b int,a int ) GO --statement 1 insert into test1 output inserted.a select 1 GO --statement 2 create trigger trig_test1 on test1 after insert as select 2 GO --statement 3 insert into test1 select 3 GO --statement 4 insert into test1 output inserted.a select 4 GO --statement 5 declare @temp as table (b int) insert into test1 output inserted.a into @temp select 5 select * from @temp GO
Questions: 10 | Attempts: 2765 | Last updated: Apr 22, 2025
-
Sample QuestionWhat does the select statement return? Create Table #T ( N1 Real , N2 Float); Insert Into #T Values (99.99999999991 , 99.99999999997); Select * From #T; Drop Table #T;
Questions: 10 | Attempts: 125 | Last updated: Jul 23, 2025
-
Sample QuestionWhich of the following statements is false regarding a PROC SQL view?
Questions: 10 | Attempts: 106 | Last updated: Feb 13, 2025
-
Sample QuestionWhich of the following will create an index on the column EmpID for the table Sasuser.Staffmaster?
Questions: 10 | Attempts: 104 | Last updated: Oct 5, 2025
-
Sample QuestionWhich of the following PROC SQL steps creates a new table by copying only the column structure (but not the rows) of an existing table?
Questions: 10 | Attempts: 183 | Last updated: Mar 22, 2025
-
Sample QuestionWhich statement is false with respect to a set operation that uses the EXCEPT, UNION, or INTERSECT set operator without a keyword?
Questions: 10 | Attempts: 160 | Last updated: Aug 23, 2025
-
Sample QuestionA Cartesian product is returned when
Questions: 10 | Attempts: 627 | Last updated: Mar 21, 2025
-
Sample QuestionWhich of the following clauses in the PROC SQL program below is written incorrectly? proc sql; select style sqfeet bedrooms from choice.houses where sqfeet ge 800;
Advertisement