DEV Community

Sydney Abuya
Sydney Abuya

Posted on

1

SQL Oracle

Use of distint

  • Before the 1st column name
  • avoids duplicate data in column
  • can not be used twice on one table

Use of q and [], ()

  • words in side having

Select from dual;

  • an unexisting table that can be used

Column aliases

  • eg select first_name name;
  • select first_name as name;
  • select first_name AS name;

Concatenation using ||

  • select first_name || ' ' || last_name as "full name"

Top comments (0)

AWS Security LIVE!

Join us for AWS Security LIVE!

Discover the future of cloud security. Tune in live for trends, tips, and solutions from AWS and AWS Partners.

Learn More

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay