Sie sind auf Seite 1von 4

Experiment Related Questions :

Experiment 1 : 1.What is DBMS ? 2.What are objectives of DBMS ? 3.What is syntax of CREATE TABLE command ? 4. .What is syntax of ALTER TABLE command ? 5. .What are DML commands uused for ? 6. .What is syntax of DROP command ? 7.What is syntax of TRUNCATE TABLE command ? 8.What is difference between DROP and TRUNCATE command ? 9.How do u add a column to an existing table? 10. How to modify datatype of a column? 11.How to drop a column from existing table ? Experiment 2 : 1.What is use of DML commands? 2.What is Syntax and use of SELECT Statement ? 3.What is Syntax and use of INSERT Statement ? 4.What is Syntax and use of DELETE Statement ? 5.What is Syntax and use of UPDATE Statement ? 6.What is the use of Where clause in DML statements? 7.What are different wildcard characters used with string Operations ? 8.What are the logical operators with eg ? 9.Explain in and not in operators ? 10.Explain use of between and not between opwrators ? 11.What is difference between SOME and ALL Operators ? Experiment 3a : 1.What is use of Single Row functions ? 2.What are the different Single row Functions ? 3. What is Syntax and use of AVG Functions? 4. What is Syntax and use of SUM Functions? 5. What is Syntax and use of MIN Functions? 6. What is Syntax and use of MAX Functions? 7. What is Syntax and use of COUNT Functions? 8.What is Different types of COUNT Functions ? 8.Explain difference between the 3 COUNT functions ? 9.What is use of DISTINCT keyword ? 10.How to rename the row returned by a Single row operator ?

Experiment 3b : 1.What are Numeric Functions ? 2.What is a dual table ? 3.What is Syntax and use of ABS Function? 4. What is Syntax and use of FLOOR Function? 5.What is Syntax and use of CEIL Function? 6.What is Syntax and use of POWER Function? 7.What is Syntax and use of SQRT Function? 8.What is Syntax and use of ROUND Function? 9.What is Syntax and use of TRUNC Function? 10.List few other inbuilt Numeric Functions? Experiment 4 : 1.What is the use of group functions ? 2.What is Syntax and use of GROUP BY Clause? 3. What is Syntax and use of HAVING Clause? 4.What is Syntax and use of ORDER BY Clause? 5.Is it necessary to use aggregate functions when GROUP BY clause is used ? 6.Can any other attributes be displayed when GROUP BY Clause is used ? 7.Can where clause be used in place of HAVING Clause ? 8.Which attribute name is used in Having Clause ? 9.What is default order if ORDER BY Clause is used ? 10.How to change the order of Displaying the table from Ascending to descending ? Experiment 5a : 1.What is a constraint ? 2.What is a Domain of an attribute ? 3.Why the name DOMAIN Integrity Constraint ? 4.List different Domain Integrity Constraints ? 5. What is Syntax and use of NOT NULL Constraint? 6.What is Syntax and use of UNIQUE Constraint? 7. What is Syntax and use of CHECK Constraint? 8.How to add a constraint to an existing table by using ALTER Command? 9.Can column having UNIQUE Constraint have NULL values ? 10.What is the use of naming a constraint ? Experiment 5b : 1.How to define table level and Column level Constraints ? 2.What is referential Integrity Constraint ? 3.What is Entity Integrity Constraint ? 4.What is a primary key ?

5.What is the Syntax and use of primary key ? 6.What is the difference between Unique key and Primary key ? 7.What is Syntax and use of FOREIGN KEY ? 8.Explain use of ON DELETE CASCADE and ON UPDATE CASCADE while defining FOREIGN KEY ? 9.How to drop a FOREIGN KEY Constraint ? 10.Can the referenced column have repeating and NULL values ? Experiment 6 : 1.What are DATETIME functions ? 2.How to define an attribute as DATETIME datatype ? 3.What is default format for entering date in table ? 4.What is the use and syntax of ADD_MONTHS Date function ? 5.What is the use and syntax of MONTHS_BETWEEN Date function ? 6.What is the use and syntax of NEXT_DAY Date function ? 7.What is the use and syntax of LAST_DAY Date function ? 8.Explain use of to_char in Date functions ? 9.What is use of SYSDATE function ? 10.What is the syntax of SYSDATE Date function ? Experiment 7 : 1.What is the use of SET operators ? 2.List different SET operators ? 3.What is the use and syntax of UNION Opeartor ? 4.What is the use and syntax of INTERSECT Opeartor ? 5.What is the use and syntax of MINUS Opeartor ? 6.What is the use of ALL keyword ? 7.Does UNION return duplicate values ? 8.CAN a non common attribute displayed in resultset ? 9.What are the different types of Operators ? 10.Give Syntax of UNION ALL operator ? Experiment 8: 1.What is the use of JOINS ? 2.What is use and syntax of INNER JOIN? 3.What is use and syntax of LEFT OUTER JOIN? 4. What is use and syntax of RIGHT OUTER JOIN? 5. What is use and syntax of FULL OUTER JOIN? 6.What is the use of keyword NATURAL in JOIN statement ? 7.What is Syntax for joins if NATURAL keyword is used ? 8.If NATURAL is used is the common attribute repeated in resultset for both tables ? 9.What are the 2 operations used in joins?

10.Is Cartesian Product Output equal to JOIN Ouput ? Experiment 9 : 1.What is a Trigger ? 2.Explain the model used for trigger ? 3.What is the Syntax for creating a trigger ? 4.What is the Syntax to DROP a trigger ? 5.What is the use of : in trigger body ? 6.List few applications of triggers ? 7.What is an ASSERTION ? 8.What is difference in assertion and trigger ? 9.Write an example of trigger ? 10.What is difference between row level and table level trigger ? Experiment 10 : 1.What is the use of View ? 2.Views are a part of which level in the database ? 3.What is the Syntax of VIEW STATEMENT ? 4.List some applications where views are useful ? 5.Can DML operations performed on Views ? 6.What is the Syntax to DROP a VIEW? 7.What is the Synatx to ALTER a VIEW ? 8.Does the VIEW table reflect changes made in the original table? 9.Are view tables stored physically or created on fly ? 10.Views occupy less space ?Justify ?

Das könnte Ihnen auch gefallen