Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


select 1,col1,col2 from table1. output?

Answers were Sorted based on User's Feedback



select 1,col1,col2 from table1. output?..

Answer / selvaraj anna university coe

SQL> SELECT 1,emp_no,emp_name FROM emp;

1 EMP_NO EMP_NAME
--------- --------- -------------------------
1 100 SELVA
1 101 RAJ
1 102 A S KALA
1 103 JESLIN FANTA MALAR
1 104 ANITA
1 105 MURUGU
1 106 SRIVATSAN
1 107 SARABOOT
1 108 KARTHI SIR
1 109 SUDHA
1 110 MERCHI
1 111 SAVI

12 rows selected.

Is This Answer Correct ?    28 Yes 1 No

select 1,col1,col2 from table1. output?..

Answer / chakri

Hi friend,

In the above Select statement 1 is constant so it will
display with respect to the other columns infromation

Result for ur query:

column_heading no_col col2_2 col3_3

1 name1 3000
1 name2 2000

in this way it will display the result.

Is This Answer Correct ?    17 Yes 2 No

select 1,col1,col2 from table1. output?..

Answer / pandian s

(No column Name) Col1 Col2
1 xx xx
1 xx xx

Note: 'xx' is nothing but Columns' actual data.

Is This Answer Correct ?    6 Yes 0 No

select 1,col1,col2 from table1. output?..

Answer / sheikbachan

hi I'M sheikbachan


select 1 col1,col2 from table

output
col1 col2
1 a
1 b
1 c
1 d

Is This Answer Correct ?    5 Yes 0 No

select 1,col1,col2 from table1. output?..

Answer / sharmila ramuka

There will b error.Coz if we write
select 1, col2 from table1;
then its correct butthis ill gv n error.

Is This Answer Correct ?    2 Yes 14 No

Post New Answer

More SQL PLSQL Interview Questions

Is oracel sql developer written in java?

0 Answers  


What is sql and explain its components?

0 Answers  


Can %notfound return null after a fetch?

0 Answers  


What are the 3 modes of parameter?

0 Answers  


how to create a new table in mysql? : Sql dba

0 Answers  


What is the best strategy to use COMMIT in a pl/sql loop?

3 Answers  


what are the authentication modes in sql server? : Sql dba

0 Answers  


Define SQL and state the differences between SQL and other conventional programming Languages?

0 Answers  


What does sql stand for?

0 Answers  


What is a variable in sql?

0 Answers  


How many database objects (trigger, packages, sequence etc) uses a particular field in a given table. For ex: I want to know how many database object uses the ATTRIBUTE1 in the PO_VENDORS table. What query will give me the result showing the database object name(package, trigger etc), field_name used (in this case ATTRIBUTE1) and table_name (in this case PO_VENDORS).

2 Answers   IBM,


what is datawarehouse? : Sql dba

0 Answers  


Categories