GeekInterview.com
  I am new, Sign me up!
 

Oracle SQL FAQ


Oracle SQL FAQ

Questions: 202
Comments: 669
 Oracle SQL FAQ Tags
 Showing Questions 11-20 of 203 Questions
<< Previous 1 [2] 3 4 5 6 7 8 9 10 Next >>
 Sponsored Links

 
 Oracle SQL FAQ
Sorting Options :  

How to retrieve odd and even number of rows from a table? 
Latest Answer: select * from (select rownum as rwid, a.* from (SELECT empno,ename,job,mgr,hiredate,sal,comm,deptno from emp) a) where mod(rwid,2) = 1 This query will be helpful to find out the odd records for even records just change to mod(rwid,2) = 0 Thanks Aditya ...

How many Primary keys and Primary Indexes can we create on a table.How many Foreign keys and Secondary indexes can we create on a table.How many maximum columns can we create in a table 
Latest Answer: Yeah it is possible, only one primary key for any table.But any number of foreign keys can be created. ...

How to open an excel sheet directly from the SQL prompt? 

How to write a query in SQL 2005 in order to Select 10 random records from table? 
Latest Answer: select top 10 * from tablename orderby newid() ...
Read Answers (2) | Asked by : hossein

How to convert any kind of date that comes in any format from the user to 'yyyymmdd' in Oracle? 
Latest Answer: To convert a date in a specified format you need to convert it into character..select to_char(hire_date, 'yyyymmdd') date from employees; ...

How to retrieve names from table starting with a particular character as a first letter, using with substring, instring without using LIKE function. 
Latest Answer: Consider the table EMPLOYEES with the column ENAME. Try with the following queries.Select ename from employeeswhere Instr(ename,'&A') = 1group by ename;'A' --> your starting character.ORSelect enameFrom employeesWhere Substr(ename,1,1) ...

How to date track 2 tables to a previous month, using SQL code 
View Question | Asked by : bongier

How to create table emp1 based on emp, except comm column?  
Latest Answer: create table emp1 as select * from emp; ...

How do we view the query used while creating a View table? i.e How to find the dependencies of a view table. 
Latest Answer: If you have toad, you can see everything. Just navigate to view throgh schema browser and check under the tabs "view". select your view and check all the properties from it. ...
Read Answers (2) | Asked by : parag08

How to display & in Oracle SQL output 
Latest Answer: Use concatenate operator ...SQL> select 'a'||'&'||'b' from dual;'A'---a&b ...

View page << Previous 1 [2] 3 4 5 6 7 8 9 10 Next >>

Ask A Question
Go Top
 Sponsored Links

 
Sponsored Links

 
Ask Question
You must login to Ask Question or Register your free account

Category:

 
Question Title:


Question in Detail:

Add this to my Subscribed Questions (?)
Send me email when new answer is posted (?)

 
Subscribe
Get Latest Updates Via RSS Reader or by Email
 Forum Discussion Subscribe to Forum Discussions Via E-Mail Latest Forum Discussions Subscribers
 Knowledge Base Subscribe to Knowledge Base Series Via E-Mail Knowledge Base Subscribers
 Learning Series Subscribe to GeekInterview Learning Series Via EMail Learning Series Subscribers
 Freelance Jobs Subscribe to GeekInterview Freelance Jobs Via EMail Latest Freelance Jobs Subscribers
 GeekInterview Blog Subscribe to GeekInterview Blog Via EMail GeekInterview Blog Subscribers
 Testing Interview Questions Subscribe to Testing Interview Questions Via EMail Testing Interview Questions Subscribers
 Oracle Interview Questions Subscribe to Oracle Interview Questions Via EMail Oracle Interview Questions Subscribers
 Java Interview Questions Subscribe to Java Interview Questions Via EMail Java Interview Questions Subscribers
 Latest Placement Papers Subscribe to Latest Placement Papers Placement Papers Subscribers
 Free Training Subscribe to Free Training Via EMail Free Training Subscribers
 Learn AJAX Subscribe to AJAXwith.com Via EMail AJAXwith Subscribers
About Us -  Privacy Policy -  Terms and Conditions -  Contact -  Ask Question -  Propose Category -  Site Updates 

Copyright © 2005 - 2009 GeekInterview.com. All Rights Reserved

Page copy protected against web site content infringement by Copyscape