Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
4f1a4ca
Updated with some SQL question
iam-gopi Oct 22, 2016
96970d7
Update SQL_interview_questions.txt
iam-gopi Oct 23, 2016
0e8faab
Merge pull request #1 from GopiTheContributer/patch-2
reach2arunprakash-byte Oct 31, 2016
b2964bc
added interview questions
iam-gopi Nov 27, 2016
42a30ec
questions based joins, wildcards patterns
iam-gopi Dec 4, 2016
8737a9a
Stored procedure questions
iam-gopi Dec 10, 2016
86134b5
Stored procedure questions
iam-gopi Dec 10, 2016
409050e
Stored procedure questions
iam-gopi Dec 11, 2016
8a935fd
Stored procedure questions
iam-gopi Dec 11, 2016
1e689b7
Stored procedure questions
iam-gopi Dec 11, 2016
f40e89c
Stored procedure questions
iam-gopi Dec 11, 2016
83b22a2
Questions flow for video tutorials. from sql basics to expert.
iam-gopi Dec 24, 2016
af5f1f7
function questions
iam-gopi Dec 24, 2016
135d299
questions for video tutorials
iam-gopi Dec 24, 2016
8fe3a31
questions for video tutorials
iam-gopi Dec 24, 2016
60c622f
questions for video tutorials
iam-gopi Dec 24, 2016
b9e7ce6
updated with some basic questions
iam-gopi Jan 15, 2017
e6e6f48
updated with some beginners question
iam-gopi Jan 29, 2017
aa14b04
video tutorials topic list
iam-gopi Jan 29, 2017
454caa6
Added some basic questions
iam-gopi Feb 16, 2017
40ecea9
Added some basic questions
iam-gopi Feb 16, 2017
3ff5b3e
new sql quiz file added
iam-gopi Apr 24, 2017
ec1605a
added few question
iam-gopi May 5, 2017
e1dd822
file updated with new questions
iam-gopi May 5, 2017
88d4f6f
updated with some basic questions
iam-gopi May 14, 2017
6e1c12f
added some questions
iam-gopi May 14, 2017
7d3bae5
added some questions
iam-gopi Jun 17, 2017
994fba8
questions added
iam-gopi Jun 17, 2017
2dbce3f
Database theory concepts files are added with the sample quizes
iam-gopi Aug 8, 2018
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
70 changes: 70 additions & 0 deletions SQL_Quiz.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
SQL Quiz
===========

1. Can we use DML statement in function?
a) Yes b) No
ANS: Yes

2. Can a Table variable (variable of type table) affect in transaction scope?
a) Yes b) No
ANS: No

3. Can we able to use user defined functions in select query?
a) Yes b)No
ANS: yes

4. Can we able to use user defined functions in DML query?
a) Yes b)No
ANS: No

5. Can we able to use case in DML statement?
a) Yes b)No
ANS: No

6. truncate and drop table command can be revoked?
a) Yes b)No
ANS: No

7. Can a delete command be revoked?
a) Yes b)No
ANS: Yes

8. Can we return null value from SP?
a) Yes b)No
ANS: No - instead 0 can be return

9. Can we able to use DML statements in case?
a) Yes b)No
ANS: No - instead 0 can be return

10. How many clustered index can be created on a table?
a) 1 b) more than one
AND: one

11. Can we able to create more than one non-clustered index?
a) yes b) no
ans: yes

12. will clustered index get created when you create a table with a primary key on a column?
a) yes b) no
ans: yes

13. can we able to create a clustered index on more than one column at a time?
a) yes b) no
ans: yes

14. can we able to get a out parameter in SP?
a) yes b) no

15. In a fetching select query, can we able to assign a particular value to a variable?
a) yes b) no
ans: no
explanation : when you write a select query to fetch only the records you will not be able to assign a particular column value to a variable.
ex: select name, age, @department = dept from student. //this query wont get executed in sql server 2008. it wil throw error.
The vice versa also won't work.

16. what is the default schema in SQL server?
a) dbo b) ser c) ssp
ans: dbo

17.
425 changes: 379 additions & 46 deletions SQL_interview_questions.txt

Large diffs are not rendered by default.

20 changes: 20 additions & 0 deletions questionslistforvideotutorials.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
video tutorials questions from basics to expert

SQL/ SEQUEL
database
dbms vs rdbms
SQL/ mysql/ mssql
sql/ plsql/ tsql
parser/ execution plan
aggregate vs arthimatic
Error Handling
Shared architecture
ACID, Normalizations
joins
temp table. CTE
index
view
SP
function
trigger
transaction