One table Test with single column. These are the values in
the table
a
b
c
d
e
f
g
h
I need a query (without using any variable) with output as -
a b c
d f f
g h
Answer / anjana
Table test have one column as name:
Test
name
a
b
c
d
e
f
g
select replace(name,'e','f') from test order by name
Output will be:
a
b
c
d
f
f
g
| Is This Answer Correct ? | 7 Yes | 0 No |
How do you find the error, how can you know the number of rows effected by last SQL statement?
Explain how does the report manager work in ssrs?
How column data types are determined in a view?
Is it possible to create trigger on views?
There are two tables (T1, T2) with different rows. Find the output of query. Select count(*) from T1,T2.
How you can minimize the deadlock situation?
Explain the dirty pages?
can any one post me, how to remove rows in the below table ENO ENAME EDEPT ELOC 3368 BPS BI Adayar 3371 RAN BI valachari 3369 SRI BI valachari 3372 jay BI Chn - - - - - - - -
Explain boyce and codd normal form(bcnf)?
Explain partitioned view?
Can group by and orderby be used together?
What are the new features in SQL Server 2005 when compared to SQL Server 2000?
Oracle (3259)
SQL Server (4518)
MS Access (429)
MySQL (1402)
Postgre (483)
Sybase (267)
DB Architecture (141)
DB Administration (291)
DB Development (113)
SQL PLSQL (3330)
MongoDB (502)
IBM Informix (50)
Neo4j (82)
InfluxDB (0)
Apache CouchDB (44)
Firebird (5)
Database Management (1411)
Databases AllOther (288)