In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-27 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >
Share
Shulou(Shulou.com)05/31 Report--
This article is about how to use the where clause in Oracle. Xiaobian thinks it is quite practical, so share it with everyone for reference. Let's follow Xiaobian and have a look.
Query employee information of department 20 in emp table
select * from emp where deptno = 20;
Query employees whose name is SMITH, string uses '', content case sensitive
select * from emp where ename = 'SMITH';
Summary: Which of the techniques you have studied are case sensitive and which are case insensitive
Query employees who joined on December 17, 1980. Note oracle default date format (DD-MON-RR indicates 2-digit year)
select * from emp where hiredate = '17-December-80';
Query employees whose salary is greater than 1500
select * from emp where sal > 1500;
Query employees whose salary is not equal to 1500 [!= or
select * from emp where sal 1500;
Query employees with salaries between 1300 and 1600, including 1300 and 1600 [between applies to numbers]
select * from emp where (sal>=1300) and (sal
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.