Top Ads

Font Banner - Free Fonts

SQL Interview Questions Part 2

Download SQL Interview Questions Part 2 graphic type that can be scaled to use with the Silhouette Cameo or Cricut. An SVG's size can be increased or decreased without a loss of quality. All of our downloads include an image, Silhouette file, and SVG file. It should be everything you need for your next project. Our SVG files can be used on adhesive vinyl, heat transfer and t-shirt vinyl, or any other cutting surface


SQL Interview Questions Part 2
1.) Does SQL support programming?
No, SQL doesn't have loop or Conditional statement. It is used like commanding language to access databases.

2.) What is data definition language?
Data definition language (DDL) allows you to CREATE, ALTER and DELETE database objects such as schema, tables, view, sequence etc.

3.) What is data manipulation language?
Data manipulation language makes user able to access and manipulate data. It is used to perform following operations.

•    Insert data into database
•    Retrieve data from the database
•    Update data in the database
•    Delete data from the database

4.) What is data control language?
Data control language allows you to control access to the database. It includes two commands GRANT and REVOKE.

•    GRANT: to grant specific user to perform specific task.
•    REVOKE: to cancel previously denied or granted permissions.

5.) How do you implement one-to-one, one-to-many and many-to-many relationships while designing tables?
•    One-to-One relationship can be implemented as a single table and rarely as two tables with primary and foreign key relationships.
•    One-to-Many relationships are implemented by splitting the data into two tables with primary key and foreign key relationships.
•    Many-to-Many relationships are implemented using a junction table with the keys from both the tables forming the composite primary key of the junction table.

6.) What is a stored procedure?
 

Stored Procedure is a function which contains a collection of SQL Queries. The procedure can take inputs, process them and send back output.

7.) What are the advantages a stored procedure?
Stored Procedures are precompiled and stored in the database. This enables the database to execute the queries much faster. Since many queries can be included in a stored procedure, round trip time to execute multiple queries from source code to database and back is avoided.

8.) What is recursive stored procedure?
A stored procedure which calls by itself until it reaches some boundary condition. This recursive function or procedure helps programmers to use the same set of code any number of times.

9.) What is a trigger?
When database are inserted, deleted or updated, a procedure is executed in response to that action. Such SQL procedures are called as trigger.

Example: When a new student is added to the student database, new records should be created in the related tables like Exam, Score and Attendance tables.

10.) What is difference between TRUNCATE, DELETE & DROP?
•    TRUNCATE commits after deleting entire table i.e., cannot be rolled back. Database triggers do not fire on TRUNCATE
•    DELETE allows the filtered deletion. Deleted records can be rolled back or committed. Database triggers fire on DELETE.
•    Drop command is used to drop the table or keys like primary, foreign from a table.

11.) What is Union, minus and Interact commands?
•    UNION operator is used to combine the results of two tables, and it eliminates duplicate rows from the tables.
•    MINUS operator is used to return rows from the first query but not from the second query.
•    INTERSECT operator is used to return rows returned by both the queries.

12.) What is the difference between WHERE clause and HAVING clause?
WHERE and HAVING both filters out records based on one or more conditions. The difference is, WHERE clause can only be applied on a static non-aggregated column whereas we will need to use HAVING for aggregated columns.

13.) What is a Cursor?
A database Cursor is a control which enables traversal over the rows or records in the table. This can be viewed as a pointer to one row in a set of rows. Cursor is very much useful for traversing such as retrieval, addition and removal of database records.

14.) What is a constraint?


Constraint can be used to specify the limit on the data type of table. Constraint can be specified while creating or altering the table statement.

15.) What is an integrity constraint?
Integrity constraint is a rule that restricts values to a column in a table.

16.) What is referential integrity constraint?
Maintaining data integrity through a set of rules that restrict the values of one or more columns of the tables based on the values of primary key or unique key of the referenced table.

17.) Where the integrity constraints are stored in data dictionary?
The integrity constraints are stored in USER_CONSTRAINTS.

18.) How will you activate/deactivate integrity constraints?
The integrity constraints can be enabled or disabled by ALTER TABLE ENABLE CONSTRAINT / DISABLE CONSTRAINT.

19.) If unique key constraint on DATE column is created, will it validate the rows that are inserted with SYSDATE? It won’t, Because SYSDATE format contains time attached with it.

20.) What’s an SQL injection?
SQL Injection is when form data contains an SQL escape sequence and injects a new SQL query to be run.

21.) What is a transaction and what are ACID properties?
A transaction is a logical unit of work in which, all the steps must be performed or none. ACID stands for Atomicity, Consistency, Isolation, and Durability. These are the properties of a transaction.

22.) What are properties of a transaction?
Properties of the transaction can be summarized as ACID Properties.

1. Atomicity
A transaction consists of many steps. When all the steps in a transaction gets completed, it will get reflected in DB or if any step fails, all the transactions are rolled back.

2. Consistency
The database will move from one consistent state to another, if the transaction succeeds and remain in the original state, if the transaction fails.

3. Isolation
Every transaction should operate as if it is the only transaction in the system.

4. Durability
Once a transaction has completed successfully, the updated rows/records must be available for all other transactions on a permanent basis.

23.) What is a Database Lock?
Database lock tells a transaction, if the data item in questions is currently being used by other transactions.

24.) What are the type of locks?
•    Shared Lock: When a shared lock is applied on data item, other transactions can only read the item, but can't write into it.
•    Exclusive Lock: When an exclusive lock is applied on data item, other transactions can't read or write into the data item.

25.) What is the sub-query?
Sub-query is a query whose return values are used in filtering conditions of the main query.

26.) What is correlated sub-query?
Correlated sub-query is a sub-query, which has reference to the main query.

27.) What are the properties and different Types of Sub-Queries?
Properties of Sub-Query:
•    A sub-query must be enclosed in the parenthesis.
•    A sub-query must be put in the right hand of the comparison operator, and
•    A sub-query cannot contain an ORDER-BY clause.
•    A query can contain more than one sub-query.

Types of Sub-Query:
•    Single-row sub-query, where the sub-query returns only one row.
•    Multiple-row sub-query, where the sub-query returns multiple rows, and
•    Multiple column sub-query, where the sub-query returns multiple columns

28.) What is a database link?
Database link is a named path through which a remote database can be accessed.

29.) What are the types of cursors?
The different types of cursors are, Static cursor, dynamic cursor, Forward only cursor and Keyset driven cursor.

30.) What is Collation?
Collation in SQL is set of rules to determine data stored and compared. There are different types of collation like Case sensitivity, Accent sensitivity and kana sensitivity.

31.) What are all different types of collation sensitivity?
Following are different types of collation sensitivity

Case Sensitivity – A and a and B and b.
Accent Sensitivity.
Kana Sensitivity – Japanese Kana characters.
Width Sensitivity – Single byte character and double byte character.

32.) What is Online Transaction Processing (OLTP)?
Online Transaction Processing or OLTP manages transaction based applications which can be used for data entry and easy retrieval processing of data. This processing makes like easier on simplicity and efficiency. It is faster, more accurate results and expenses with respect to OTLP.

Example: Bank Transactions on a daily basis.

--------------------------------
Prepared by: V. Raga Malika

Download SQL Interview Questions Part 2 All SVG file downloads also come bundled with DXF, PNG, and EPS file formats. All designs come with a small business commercial license. These SVG cut files are great for use with Silhouette Cameo or Cricut and other Machine Tools.

LihatTutupKomentar

SVG by Keywords

A Sample Java Program Accounting adab berbusana muslimah Administrasi Dan Layanan Administrasi Perkantoran adminstrasi Advanced VBScript Advantages of Automated Testing Advantages of Java Advantages of Manual Testing Advantages of Selenium Advantages of Test Automation Advantages of TestNG Aksi Indosiar Akuntansi Alamat Alamat Perusahaan alamat pt Ancol ANDROID_HOME AndroidDriver aneka kerudung Appium Appium Android Examples Appium FAQ Appium Fundamentals Appium Interview Questions Appium Interview Questions and Answers Appium Questions Appium Tutorial Appium Tutorials Application Environments supported by Selenium Arrays in Java Artikel Kesehatan astra aurat aurat wanita Automated Test Process baju pengantin muslimah Bali Bander Bandung Bank Bank Dan Keuangan Banking Domain knowledge for Testers Bantar Gebang Banten Batch Testing in Selenium Batch Testing with Selenium Bawang Putih Bayi Begadang Bekasi Benefits of Test Automation Benefits of TestNG BIIE bisnis BKK Black Box Techniques Bogor Boleh atau Tidak Boundary value analysis Broadcast Browser Compatibility Testing with Selenium Browsers supported by Selenium buah Buah Untuk Diabetes Buah-Buahan bug Bug Tracking Tool Bugzilla Bukit Indah Bulan Ini BUMN BUMN Dan CPNS 2015 busana di dalam al-qur'an busana kerja busana model kebaya busana muslimah c data types C FAQ C Language Basics C language Constants C Language FAQ C Language Functions C Language Fundamentals C Language Interview Questions C Language Interview Questions and Answers C Language Pointers C Language Questions C Language Tokens c Language tutorial C Language Tutorial for Beginners C Language Variables C Programming Fundamentals Cakung Call Center cantik alami cantik hati cantik mudah dan murah cara memakai jilbab cara sehat Cari Lowongan Kerja Di Cikarang Choose Selenium Tools Chrome Browser Driver Cianjur Cibinong cibitung Cibubur Cikampek cikarang Cikokol Cikupa Cilegon Cileungsi Cilincing Ciracas Cirebon Comments in Java Comments in VBScript Compare data using VbScript Configure Selenium Cook Core Java Tutorial Core Java Videos Cross Browser Testing using Selenium Cross Browser Testing using Selenium WebDriver Cucumber customer Service D Academy 3 D Academy Celebrity D1 D3 D4 Daftar Lowongan Kerja Cikarang Data comparisons Data Driven Framework in Selenium Data driven testing in UFT Data driven testing using excel Data driven testing using TestNG DataProvider Data Driven Testing with Selenium Database Test Cases Database Test scenarios Database Testing Checklist Database Testing in Selenium Database Testing Tutorial Debugging Tests in UFT Decision Tables Defect Management Tools Defect Report Defect Reporting and Tracking. Delta Mas Delta Silicon Delta silicone deltamas Denpasar Depok Design Grafis Designer Detoks Diabetes Insipidus Diabetes Saat Kehamilan Diet Disadvantages of Manual Testing Disadvantages of Selenium Disadvantages of Test Automation DKI Jakarta Domain knowledge for Software Testers Drawbacks of Automated Testing Drawbacks of Manual Testing Drawbacks of selenium Drawbacks of Selenium IDE Driver Eclipse IDE Download ejip Elektronik Element handling in Selenium Element Handling Selenium WebDriver element locators Element locators in selenium Elements handling in Selenium email email hrd email PT Endurance testing Enginering Equivalence partitioning ERP Domain Knowledge for testers Error handling in UFT Error handling in VBScript Euro 2016 event Excel file handling in VBScript Exception handling in Java Experience based Techniques Farmasi File Handling in Java File handling in vbscript Firebug Firepath Flu foto muslimah cantik Functional and Regression Test Tools Functional test tools Functional Testing Checklist fungsi busana Games gamis Garmen gaun pengantin modern Gaya Hidup gaya hidup sehat Gejala Diabetes gigi GIIC Gobel Greenland Grogol Grouping test cases Grouping Test Cases in TestNG Gudang Gunung Putri hamil sehat Handle Frames Handle Mouse hover Handle multiple browsers in Selenium Handling Browser in Selenium Handling Web Elements in Selenium Harapan Indah Helper hikmah berbusana muslimah Hipertensi HP UFT Tutorial for beginners hrd dan industri hyundai Ibu Hamil Iklan Lowongan Kerja Indotaise Industri informasi Informasi Kesehatan Informatika inner beauty Inspect Elements Inspirasi Kesehatan Install TestNG Insurance Domain Knowledge for testers Internasional Internet Explorer Driver Interview Questions on Selenium Fundamentals Interview questions on Selenium Test process Introduction to Functional Testing Introduction to Java Introduction to Selenium Introduction to Selenium Webdriver jababeka jabodetabek jakarta Jakarta Barat jakarta pusat Jakarta Selatan jakarta Timur jakarta Utara Jakasampurna Jantung Jatake Jati Uwung Jatinegara Java Java Abstraction Java Array methods Java Arrays Java Basics Java built in methods Java Built-in Methods Java character methods Java Code Example Java conditional statements java data types Java download and install Java Encapsulation Java Environment setup Java Exception Handling Java FAQ Java File class java flow control Java for selenium Java for Selenium Interview Questions and Answers Java for Selenium Videos Java fundamentals Java Fundamentals and OOPS Java Guide Java Inheritance Java Input and Output Java input output operations Java Interfaces Java Interview Java Interview Questions Java Introduction Java IO Java Loop statements Java Methods Java Modifiers Java Number methods Java Object Oriented Programming Java OOPS Java OOPS concepts Java Operators Java Polymorphism Java Program Example Java Program structure Java programming for Selenium Java Programming for Test Automation Java Programming fundamentals Java Questions and Answers Java Static Methods Java String methods Java strings java syntax Java Syntax Rules Java tutorial Java Tutorial for Beginners Java tutorial for selenium java tutorials for webdriver Java user defined methods Java Variables Java Video tutorials Java videos for Selenium Jawa Barat Jawa Tengah Jawa Timur jenis jilbab jenis kain JIEP jira Job Fair JUnit Kalijaya Kalimantan Kanker Karanganyar karawang Kasir Kawasan Industri Kebayoran Baru Kebon Jeruk kecantikan kecantikan alami kecantikan hati kecantikan kulit kecantikan wajah Kedunghalang Kementerian Kesehatan Kesehatan Anak Kesehatan Dan Kecantikan Kesehatan Gigi kesehatan ibu hamil Kesehatan Kulit Kesehatan Mata Keyword Driven Framework in Selenium KIIC KIM Kimia Klari Komplikasi Diabetes Komputer Kontraktor kuliner Kulit Kumpulan Renungan Kristen Lebak Bulus Lemah Abang Lemak Lemak Trans Lembaga Lembaga Negara Lembur Limitations of Selenium WebDriver Lippo Load Testing lowongan lowongan email Lowongan Kerja Lowongan Kerja BANK Lowongan Kerja Bekasi Februari 2014 Lowongan Kerja Cikarang Februari 2014 Lowongan Kerja Hari Ini Lowongan Kerja Jakarta Februari 2015 Lowongan Kerja Karawang Februari 2015 Lowongan Kerja Khusus STM Lowongan Kerja Operator Produksi Lowongan Kerja SMP Lowongan Kerja SPG lowongan PT lowongan sma lowongan smk Lowongan Terbaru Maintinance Makanan Penderita Diabetes Makanan Sehat Manfaat Buah Manfaat Tanaman Manual Test Process Manual testing manual testing basics Manual Testing Fundamentals Manual Testing Limitations Manual Testing Live Project Manual Testing Process Manual Testing Project manual testing resume Manual Testing Tutorial Manual Testing Videos Manual Testing vs Test Automation Manual Testing vs. Test Automation Manufaktur dan Industri Manufaktur Industri mari berhijab Marunda Makmur Matraman Medan Medan Satria Mencegah Diabetes Mengemudi Method Overloading Method Overriding Migas mm2100 mobile automation Mobile Test Tools Mobile Testing Tools model baju batik model baju muslimah model busana muslimah model jilbab motoGP musim hujan Nasional Negative Test Cases Ngaliyan Non Functional Testing NTB Obat Alami Obat Diabetes Alami obesitas Object repositories in uft Oktober Olahraga OP Open Source Test Tools Operating Systems supported by Selenium Operator Operator Forklip Operator Injecion operator produksi Operators in VBScript Oracle Interview Questions Oracle PL/SQL Interview Questions Osteoporosis Otak Otomotif Overview of Functional Testing Overview of Java Overview of Mobile Applications Overview of Performance Testing Overview of Selenium Overview of Selenium WebDriver overview of Web Applications paduan warna Pantangan Penyakit Diabetes Parallel Test Execution using TestNG Parameterization in Selenium Pasir Gombong Pelayaran Pemasaran Dan Penjualan Pendidikan Pengobatan Penjualan dan marketing Penyakit Perawat Perawatan Diabetes Performance Test Process performance test tools Performance Testing Tutorial Phases of SDLC Phases of Software Test Process PL/SQL FAQ PL/SQL Interview questions PL/SQL Tutorial PNS Polymorphism in Java Pondok Labu Pondok Ungu Positive and Negative Test Cases Positive Test Cases PPIC Pramugari Pramuniaga Proetein profil Programming Basics for Testers Programming essentials for Testers Programming fundamentals for Software Testers Programming Knowledge for Testers Programming Languages supported by Selenium project management tool Project Test Automation Psikotes Pulogadung purwakarta Q Academy Indosiar qa training Quality Control rahasia kecantikan rahasia kecantikan wanita korea rambut RAMUAN HERBAL Read and write files in Java Real Time Testing Project Training Recepsionist Regression Testing resep masakan sehat Resep Minuman Restaurant Rumah Sakit S1 S2 S3 Sample Java program Sanity Testing Sarjana sayuran untuk penderita diabetes sdlc SDLC Models Security Testing Checklist sehat alami Sekretaris Selenium Selenium 1.0 vs Selenium 2.0 Selenium 2 Selenium 3 selenium basics Selenium Browser Object Selenium Browser operations Selenium Checklist Selenium Components Selenium Course Brochure Selenium Data Driven Testing Selenium Element locators Selenium Environment Setup selenium FAQ Selenium fundamentals Selenium Fundamentals and Features Selenium Grid Selenium Grid 2 Selenium Guide Selenium History Selenium IDE Selenium IDE Features Selenium IDE Interview Questions and Answers Selenium IDE Test Cases Selenium IDE tutorial Selenium IDE Videos Selenium Installation Selenium Interview Questions Selenium Interview Questions and Answers Selenium Introduction Selenium Java Tutorial Selenium Jobs selenium learning objectives Selenium Live project selenium online training Selenium Project Selenium Project explanation Selenium Project overview Selenium project testing selenium project training Selenium Projects Selenium Questions Selenium Quick Tutorial selenium rc Selenium RC versus Selenium WebDriver Selenium Real Time Interview Questions and Answers Selenium Real time project Selenium Resumes Selenium Step by Step Tutorials Selenium Suite of Tools Selenium syllabus Selenium Test Case Selenium test cases Selenium test planning Selenium Test process Selenium Test Scripts Selenium Tester Job Responsibilities Selenium Tester Resume selenium testing Selenium Testing Project Selenium TestNG Videos Selenium Tools Selenium training Selenium training videos Selenium Tutorial Selenium Tutorial for Beginners Selenium Video Tutorial Selenium Video Tutorials Selenium Videos Selenium vs. UFT Selenium WebDriver Selenium WebDriver Browser Commands Selenium WebDriver Commands Selenium WebDriver environment setup Selenium WebDriver examples selenium webdriver interview questions Selenium WebDriver Interview Questions and Answers selenium webdriver methods Selenium Webdriver Test cases Selenium WebDriver Test Scripts Selenium webDriver tutorial Selenium WebDriver Videos Semarang Sentul Serang serba-serbi muslimah Silk Test SilkTest Sistem Kerja sma SMA/SMK smk Smoke Testing SMP Software Development process Software Quality Software Quality vs Software Test Design Software Test Documents Software Test Life Cycle Software Test Plan Software Test Planning software test process Software Test Tools software tester resume Software tester role Software Tester skills Software Testing software testing basics Software Testing Career Software Testing checklist Software Testing Experience Resume Software testing faq Software Testing Guide software testing interview questions Software Testing Interview Questions and Answers Software Testing interviews Software Testing Job Responsibilities Software Testing Jobs Software Testing Learning Objectives Software Testing life cycle Software Testing methodologies Software Testing Process Software Testing Real-time Project Software Testing Standards Software Testing Tools Software Testing Training Software Testing Tutorial Software Testing Tutorial for Beginners Software Testing tutorials Software Testing Tutorials for Beginners software testing videos Sopir SPB spg Spike Testing SQL Commands for Database Testing SQL FAQ SQL for Software Testing sql for testers SQL Fundamentals SQL Interview Questions SQL Interview Questions and Answers SQL Knowledge for Software Testing SQL PL/SQL Interview Questions SQL Queries SQL Statements SQL Tutorial for Beginners SQL Tutorial for Software Testing staff staff administrasi Staff Kantor Static vs. Non Static Methods stlc Stress Testing String handling String handling in Java Stroke Subang Sulawesi Sumatera Sumatra Sunter supervisor Surabaya Suryacipta Susu Synchronization in Selenium Tambun tangerang Tanjung Baru Tanjung Pura Tebet teknisi Telekomunikasi Teluk Jambe Telur Terminating loops in VBScript Test Automation Test automation checklist Test Automation Limitations Test Automation process Test Automation Resume test automation using selenium Test Case Management Tool Test Closure Test Condition Test Data Collection Test design Test design in UFT Test Design Techniques Test Documentation Templates Test execution in UFT Test Execution phase test levels Test Link Test Management Tools Test Metrics Report Test planning Test Planning in Selenium Test Requirements test scenario Test scenarios vs Test cases Test Summary Report test tools Test Types TestComplete Testing Frameworks used in Selenium testing interview questions testing live project Testing Project Training Testing Project using Selenium Testing Tools Testing Tutorial TestNG annotations TestNG data driven testing TestNG for Selenium TestNG framework for selenium TestNG Framework in Selenium TestNG Framework Quick Tutorial TestNG Grouping Test Cases TestNG Installation TestNG Interview Questions and Answers TestNG Parallel Test Execution TestNG Reports TestNG test cases TestNG Testing Framework in Selenium TestNG Tutorial TestNg with Selenium TestNG with Selenium WebDriver tetap sehat Text stream object in vbscript the voice indonesia 2016 Tidur tipis kecantikan Tips TIPS - TIPS HIDUP SEHAT tips belanja tips cantik tips diet Tips Hidup Sehat Tips Ibu Hamil tips kecantikan Tips Kerja Tips kesehatan tips meke up tips memilih busana tips memilih warna tips muslimah tips sehat Tools for Automated Testing Transportasi Dan Logistik Types of Software Types of Software Environments Types of Test Tools types of testing tools UFT UFT 12.51 Installation UFT 12.51 new features UFT 12.51 New Technology Support UFT 12.51 Product updates UFT Basics UFT checklist UFT Fundamentals UFT Guide UFT Interview Questions and Answers UFT latest version new features UFT Shared Object Repository UFT Test Process UFT Test Result UFT Tool UFT Tutorial UFT Tutorials UFT Videos Universitas UNIX Knowledge for Testers Usability Test Tools Usage of Java Use Case Testing User Defined Methods in Java VBScript Automation objects VBScript Basics VBScript built in functions vbscript conditional statements VBScript Control flow statements VBScript Data Types VBScript Database Object models vbscript debug commands vbscript excel object VBScript Excel Object Model for UFT vbscript file system object VBScript FileSystemObject Model VBScript for UFT VBScript Function Procedures VBScript functions VBScript Functions for UFT VBScript Fundamentals VBScript if statement VBScript Loop Structures VBScript Objects VBScript scripting examples VBScript Sub Procedures VBScript Tutorial VBScript Tutorial for beginners VBScript User defined Functions Vbscript variables Vendor Test Tools Via Email Video Vitamin wajah Wanaherang Warung Kobak Watir Web elements in selenium Web Environment Knowledge for Testers web testing checklist Web Testing Tutorial WebDriver WebDriver API Commands WebDriver Commands WebDriver Commands and Operations WebDriver environment setup WebDriver examples WebDriver Features webdriver interview questions webdriver tutorials What is Database Testing? What is Software Testing? White Box Techniques Working with different browsers write and execute java programs write java program in eclipse Write selenium Test Cases Writing Selenium Test Cases Writing Selenium Test scripts Writing Test Cases Writing Test Cases using User defined methods xpath locator in selenium yayasan Yogyakarta