If I have a table T with 4 rows & 2 columns A & B. A has values 1,2,3,4. and B has 10,20,30,40. Write an Update SQL query which can Swap the values of A & B for all records. (Do not use a sub-query)
5 10519i have one table with accounts and amounts as colums.accounts with columns c and d. and amounts with values 1000,2000,3000 for c and 4000,5000,8000 for d.i need to find the sum of these accounts c and d individually and find the differences between their sum using one select statement.
11 18760can use the following like overloading concept in a single package: procedure p1(a varchar), procedure p1(a varchar2), procedure p1(a char)
5 8487why should required nested tables, Object types, partition tables and varying arrays. what is the difference between these are all. give me example with explanation.
2 6691how to delete duplicate rows from a specified table(only single table) how do you know which join is need to be used
UST,
11 19246
Explain the difference between cursor declared in procedures and cursors declared in the package specification?
Table 1: col1 Timestamp ---------------- 01-mar-2012 11:12:46 Table 2: col2 Timestamp -------------------- 01-mar-2012 11:12:10 01-mar-2012 11:11:23 Write a query to display a row with table2 col2 value less than tabl1 col1 value. Maximum timestamp value previous to table1 col1 value. Display a result as: Col1 col2 ----- ----- 01-mar-2012 11:12:46 01-mar-2012 11:12:10
How do I start sql profiler?
What will you get by the cursor attribute sql%notfound?
What is sequence in sql?
What is aggregate function in sql?
What does select * from mean in sql?
In a distributed database system, can we execute two queries simultaneously?
What is the difference between count 1 and count (*) in a sql query?
What is recursive stored procedure?
Which operator is used in query for pattern matching?
What is a procedure in pl sql?
What are keys in sql?
How do I partition a table in sql?
What is the difference between microsoft access and sql?