Top Ads

Font Banner - Free Fonts

SQL Interview Questions Part 1

Download SQL Interview Questions Part 1 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 1

1.) What is SQL?
 

SQL stands for structural query language and SQL was developed during 1970’s at IBM. SQL is standard database language for Relational Database Management System (RDBMS).

SQL language is used to perform database operations like insert, delete, update and modify database.

2.) What is a Database?
 

Database is nothing but an organized form of data for easy access, storing, retrieval and managing of data. This is also known as structured form of data which can be accessed in many ways.

Example: School Management Database, Bank Management Database.

3.) What is DBMS?
 

The database management system is a collection of programs that enables user to store, retrieve, update and delete information from a database.

4.) What is RDBMS?
 

Relational Database Management system (RDBMS) is a database management system (DBMS) that is based on the relational model.

Data from relational database can be accessed or reassembled in many different ways without having to reorganize the database tables. Data from relational database can be accessed using an API, Structured Query Language (SQL).

5.) What are the different type of SQL's statements?
 

SQL statements are broadly classified into three. They are
•    DDL – Data Definition Language
•    DML– Data Manipulation Language
•    DCL– Data Control Language

6.) What is a Table in a database?
 

A table is a collection of records of a specific type. For example, employee table, salary table etc.

7.) What is a field in a database?
 

A field is an area within a record reserved for a specific piece of data.

Examples: Employee Name, Employee ID etc.

8.) What is a Record in a database?
 

A record is the collection of values / fields of a specific entity: i.e. an Employee, Salary etc.

9.) Define SQL Insert Statement?
 

SQL INSERT statement is used to add rows to a table. For a full row insert, SQL Query should start with “insert into “statement followed by table name and values command, followed by the values that need to be inserted into the table. The insert can be used in several ways:

•    To insert a single complete row.
•    To insert a single partial row.

10.) Define SQL Update Statement?
 

SQL Update is used to update data in a row or set of rows specified in the filter condition.

The basic format of an SQL UPDATE statement is, Update command followed by table to be updated and SET command followed by column names and their new values followed by filter condition that determines which rows should be updated.

11.) Define SQL Delete Statement?
 

SQL Delete is used to delete a row or set of rows specified in the filter condition.

The basic format of an SQL DELETE statement is, DELETE FROM command followed by table name followed by filter condition that determines which rows should be updated.

12.) What are wild cards used in database for Pattern Matching?
 

SQL Like operator is used for pattern matching. SQL 'Like' command takes more time to process.

So before using "like" operator, consider suggestions given below on when and where to use wild card search.

•    Don't overuse wild cards. If another search operator will do, use it instead.
•    When you do use wild cards, try not to use them at the beginning of the search pattern, unless absolutely necessary. Search patterns that begin with wild cards are the slowest to process.
•    Pay careful attention to the placement of the wild card symbols. If they are misplaced, you might not return the data you intended.

13.) What is a join? Explain the different types of joins?
 

Join is a query, which retrieves related columns or rows from multiple tables.

•    Right Join: Return all rows from the right table, even if there are no matches in the left table.
•    Equi Join: Joining two tables by equating two common columns.
•    Non-Equi Join: Joining two tables by equating two common columns.
•    Outer Join: Joining two tables in such a way that query can also retrieve rows that do not have corresponding join value in the other table.
•    Left Join: Return all rows from the left table, even if there are no matches in the right table.
•    Full Join: Return rows when there is a match in one of the tables.

14.) What is Self-Join?
 

Self-join is query used to join a table to itself. Aliases should be used for the same table comparison.

15.) What is Cross Join?
 

Cross Join will return all records where each row from the first table is combined with each row from the second table.

16.) What is a view?
 

The views are virtual tables. Unlike tables that contain data, views simply contain queries that dynamically retrieve data when used.

17.) What is a materialized view?
 

Materialized views are also a view but are disk based. Materialized views get updates on specific duration, based upon the interval specified in the query definition. We can index materialized view.

18.) What are the advantages and disadvantages of views in a database?
 

The advantages and disadvantages are,

Advantages:
•    Views don't store data in a physical location.
•    The view can be used to hide some of the columns from the table.
•    Views can provide Access Restriction, since data insertion, update and deletion is not possible with the view.

Disadvantages:
•    When a table is dropped, associated view become irrelevant.
•    Since the view is created when a query requesting data from view is triggered, it’s a bit slow.
•    When views are created for large tables, it occupies more memory.

19.) What is normalization?
 

Normalization is the process of minimizing redundancy and dependency by organizing fields and table of a database.

The main aim of Normalization is to add, delete or modify field that can be made in a single table.

20.) What is Denormalization?
 

Denormalization is a technique used to access the data from higher to lower normal forms of database.

It is also process of introducing redundancy into a table by incorporating data from the related tables.

21.) What are the different type of normalization?
 

In database design, we start with one single table, with all possible columns. A lot of redundant data would be present since it’s a single table.

The process of removing the redundant data, by splitting up the table in a well-defined fashion is called normalization.

•    First Normal Form (1NF): A relation is said to be in first normal form if and only if all underlying domains contain atomic values only. After 1NF, we can still have redundant data.
•    Second Normal Form (2NF): A relation is said to be in 2NF if and only if it is in 1NF and every non key attribute is fully dependent on the primary key. After 2NF, we can still have redundant data.
•    Third Normal Form (3NF): A relation is said to be in 3NF, if and only if it is in 2NF and every non key attribute is non-transitively dependent on the primary key.

22.) What is a "primary key"?
 

•    A PRIMARY INDEX or PRIMARY KEY is something which comes mainly from database theory. From its behavior is almost the same as an UNIQUE INDEX, i.e. there may only be one of each value in this column.

•    Primary Key is a type of a constraint enforcing uniqueness and data integrity for each row of a table. All columns participating in a primary key constraint must possess the NOT NULL property.

23.) What is a unique key?
 

•    A Unique key constraint uniquely identified each record in the database. This provides uniqueness for the column or set of columns.
•    A Primary key constraint has automatic unique constraint defined on it. But not, in the case of Unique Key.
•    There can be many unique constraint defined per table, but only one Primary key constraint defined per table.

24.) What is a foreign key?
 

A foreign key is one table which can be related to the primary key of another table. Relationship needs to be created between two tables by referencing foreign key with the primary key of another table.

25.) What is a Composite Key?
 

A Composite primary key is a type of candidate key, which represents a set of columns whose values uniquely identify every row in a table.

For example: if "Employee_ID" and "Employee Name" in a table is combined to uniquely identify a row it’s called a Composite Key.

26.) What is a Composite Primary Key?
 

A Composite primary key is a set of columns whose values uniquely identify every row in a table.

What it means is that, a table which contains composite primary key will be indexed based on the columns specified in the primary key. This key will be referred in Foreign Key tables.

For example: if the combined effect of columns, "Employee_ID" and "Employee Name" in a table is required to uniquely identify a row, it’s called a Composite Primary Key. In this case, both the columns will be represented as primary key.

27.) What is an Index?
 

An index is performance tuning method of allowing faster retrieval of records from the table. An index creates an entry for each value and it will be faster to retrieve data.

 28.) What are all the different types of indexes?
 

There are three types of indexes, they are
•    Unique Index: This indexing does not allow the field to have duplicate values if the column is unique indexed. Unique index can be applied automatically when primary key is defined.
•    Clustered Index: This type of index reorders the physical order of the table and search based on the key values. Each table can have only one clustered index.
•    NonClustered Index: NonClustered Index does not alter the physical order of the table and maintains logical order of data. Each table can have 999 non clustered indexes.

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

Download SQL Interview Questions Part 1 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