Search:

Type: Posts; User: ashalalaxmi2002; Keyword(s):

Page 1 of 2 1 2

Search: Search took 0.00 seconds.

  1. Answers
    5
    Views
    27,808

    SQL Re: Hire date and salary review date

    try the below query,

    select ename,hiredate,sal,
    to_char(next_day(trunc(add_months(hiredate,6),'mm'),'monday'),'DAY,"THE" DDSP "OF" MONTH YYYY') Review_date
    FROM emp.
  2. Answers
    5
    Views
    3,884

    SQL Re: subquery

    below pl/sql block can update sal of first five records.

    declare
    cursor c1 is select rownum,a.* from emp a where rownum<6;
    c1row c1&#37;rowtype;
    begin
    open c1;
    loop
    fetch c1 into c1row;
    exit...
  3. Answers
    9
    Views
    5,155

    Oracle Re: subquery

    try the below query

    select sal from emp where sal=(
    select a.sal from(select sal from emp where sal is not null order by sal)a
    where rownum=1)
  4. Answers
    4
    Views
    3,711

    SQL Re: SQL query

    hi
    The below query will help for u

    select x.* from (select a.employee_id,a.employee_name,b.address, from emp a,address b where a.employee_id=b.employee_id) x
    where x.address in(select distinct...
  5. SQL Re: Insert new column in the middle of a table

    you cannot insert column in the middle of the table.if u add any column to table it will appended to end.
    if u want to appear in the middle, create another table by selecting columns from that...
  6. Thread: Syntax

    by ashalalaxmi2002
    Answers
    2
    Views
    3,361

    SQL Re: Syntax

    There are 3 ways to insert the data into a table.

    desc student
    no number(3);
    name varchar2(20);
    address varchar(100);
    1)to insert all column values in a table.
    syntax:
    ...
  7. Answers
    2
    Views
    11,256

    Oracle Re: Cursor for loop

    yes we can use corsor attributes in cursor for loop.

    eg:

    declare
    cursor c1 is select * from emp where deptno=10;
    m number(2);
    begin
    for i in c1
    loop
  8. Thread: test

    by ashalalaxmi2002
    Answers
    4
    Views
    3,452

    Oracle Re: test

    select count(empno),job from emp group by job;
  9. Answers
    7
    Views
    4,648

    SQL Re: Copy table without data

    CREATE TABLE table_name2 as select * from table_name1 where 1=0
  10. Answers
    2
    Views
    4,225

    Oracle Re: Oracle Instance

    Background process:

    These background processes will exist in oracle instance. Every time an instance is started, a system global area (SGA) is allocated and oracle background processes are...
  11. SQL Difference between LIKE and = operator

    For query with sql, how do you select all the records from a table named "persons" where the value of the column "firstname" is "peter"? 1 select * from persons where firstname like 'peter' 2 select...
  12. Answers
    8
    Views
    5,425

    SQL Re: How to alter a type in SQL

    alter table tablename
    modify column_name varchar2(30);
  13. Answers
    4
    Views
    4,113

    SQL Re: an interesting topic

    in normal PL/SQL block it will allow only DML statements to execute.if we are executing other than DML like DDL(CREATE ,ALTER ,DROP),DCL(GRANT,REVOKE) AND SESSION CONTROL LANGUAGE(CREATE SESSION) it...
  14. Oracle Re: Which procedure will Oracle server take

    if the second person is creating the procedure using CREATE OR REPLACE it will be replaced with 1st procedure. so second person's procedure will take.
  15. Answers
    4
    Views
    9,644

    Oracle Re: Parent Child Table Relationship

    its not possible to enter data in child table which is not available in parent table.

    it will gives an error like integrity constraint voilated.parent key not found,when ur trying to insert.
  16. Answers
    4
    Views
    6,637

    Re: Cisco certificate

    HI

    u serch in the net u can get required information.

    i think cisco is related to networking products.this certification include
    CCNA,CCNP..ETC but i dont know exactly.
  17. Answers
    5
    Views
    9,054

    SQL Re: Print last 3 rows in a table

    hello vinay

    as per my knowledge i prepared a query.i think this will work for u.


    select * from emp
    minus
    select * from emp where rownum<=(select (count(*)-3) from emp);
  18. Answers
    7
    Views
    49,564

    SQL Re: Difference between view and index

    view:

    view is also a one of the database object.
    view contains logical data of a base table.where base table has actual data(physical data).another way we can say view is like a window through...
  19. Answers
    2
    Views
    3,206

    Oracle Re: SELECT statement...

    hello nitin

    u know execute immediate method.its a method used in native dynamic sql.native dynamic sql means at the run time we will get the query.here the query which will give at run time will...
  20. Answers
    2
    Views
    3,004

    Oracle Where data will populate

    How can one see if somebody modified any code.

    Also, If scott has created the Procedure p1 which inserts the data into table t1 which is created in scott schema.if the scott gives the execute...
  21. Answers
    4
    Views
    3,530

    SQL Re: Retrieve after roll back

    hello prakash,

    without commiting, the inserted row is not saved in the database,just it is stored in the memory.
    here is the example.

    SAVEPOINT S1;
    UPDATE STMT..
    create STMT.
    SAVEPOINT S2;...
  22. Answers
    18
    Views
    186,651

    MySQL Re: difference between delete and truncate

    delete means it will delete all rows.and space of deleted rows will not be released.
    but when truncate the table all the rows will be deleted & space of rows also deleted.
    when deleting we can roll...
  23. Answers
    1
    Views
    3,939

    Oracle Re: Refer the attached DOC file

    its a very useful document.
    thanqu.
  24. Answers
    53
    Views
    29,914

    Poll: Re: Weekly Training Notes by Email

    iam intrested but in which tech the training will be.
  25. Answers
    1
    Views
    3,301

    Oracle Re: Get IP Address of Your PC

    hi
    thanxs a lot
Results 1 to 25 of 35
Page 1 of 2 1 2
About us
Applying for a job can be a stressful and frustrating experience, especially for someone who has never done it before. Considering that you are competing for the position with a at least a dozen other applicants, it is imperative that you thoroughly prepare for the job interview, in order to stand a good chance of getting hired. That's where GeekInterview can help.
Interact