Category: Oracle

Oracle WHERE

The Oracle WHERE clause can be used in a SELECT statement, UPDATE statement, or DELETE statement. Oracle WHERE example Select * From users u Where u.name = 'EVA' ; Select * From books b Where b.author = 'SMITH' And book_name Like...

Oracle SELECT

The Oracle SELECT statement uses to retrieve data from tables, views, or materialized views. Oracle SELECT example Select * From users u Where u.user_id > 50; Select distinct b.author, b.book_name From books b Where b.author = 'SMITH' And book_name Like '%ORACLE%'...

Oracle ROWNUM

The Oracle ROWNUM pseudocolumn returns a number indicating the order in which Oracle database selects the row from a table or from a join query. Oracle ROWNUM pseudocolumn example Select rownum, type, name From jobs Where rownum > 1200; Order By...

Oracle ROWID

The Oracle ROWID pseudocolumn returns the address of the row. Oracle ROWID pseudocolumn example Select rowid, name From customers Where customer_id=2378; Select customer_id, name, email From customers Where rowid = 1000; Declare v_Customer_Id NUMBER; v_Rowid ROWID; Begin PL/SQL query End;...

Oracle OR

The Oracle OR statement returns TRUE if either component condition is TRUE. Returns FALSE if both are FALSE. Oracle OR example Select * From users u Where u.name = 'ANIA' OR u.name = 'PARKER'; Select * From tutorials Where author =...