-
-
-
-
-
Records Count
How to count number of records in a table without using COUNT function?
-
SQL and PLSQL
What is the difference between SQL & PLSQL?
Insert a record in two tables
How to insert a record in two tables with single insert statement ?
There is a % sign in one field of a column. What will be the query to find it?
'' Should be used before '%'.
Left Outer & Right Outer Join
What is the use of Left Outer & Right Outer Join, Using Equi Join with Union we can do the outer join then why we need to go for Outer Join
Select comm from emp;
The Null column in the output will come in the last i.e at the end. WHY?e.g COMM 1200 1000 1300 1450 ---- (NULL) ---- (NULL)
Retrieve Rows Without Using SELECT Clause
How can we retrieve some rows from the database without using select clause?
Fetch Alternate Rows
How to fetch alternate rows from the table?
Display the number value in Words?
SQL> select sal, (to_char(to_date(sal,'j'), 'jsp'))from emp;the output like,SAL (TO_CHAR(TO_DATE(SAL,'J'),'JSP'))--------- -----------------------------------------------------800 eight hundred1600 one thousand six hundred1250 one thousand two hundred fiftyIf you want to add some text like, Rs. Three Thousand only.SQL> select sal "Salary ",(' Rs. '|| (to_char(to_date(sal,'j'), 'Jsp'))|| ' only.'))"Sal...
Ans