当前位置:网站首页>'using an alias column in the where clause in PostgreSQL' - using an alias column in the where clause in PostgreSQL
'using an alias column in the where clause in PostgreSQL' - using an alias column in the where clause in PostgreSQL
2022-07-04 11:40:00 【javail】
problem :
"I have a query like this:<\/i> I have a query like this :<\/b><\/p>
SELECT jobs.*, ( CASE WHEN lead_informations.state IS NOT NULL THEN lead_informations.state ELSE 'NEW' END ) AS lead_stateFROM jobs LEFT JOIN lead_informations ON lead_informations.job_id = jobs.id AND lead_informations.mechanic_id = 3WHERE lead_state = 'NEW'Solution :
Reference resources : https://stackoom.com/en/question/DbDs边栏推荐
- TCP fast retransmission sack mechanism
- Exceptions and exception handling
- Definition and method of string
- OSI seven layer reference model
- QQ group administrators
- 本地Mysql忘记密码的修改方法(windows)[通俗易懂]
- template<typename MAP, typename LIST, typename First, typename ... Keytypes > recursive call with indefinite parameters - beauty of Pan China
- Force buckle 142 Circular linked list II
- Canoe: what is vtsystem
- 2021-08-09
猜你喜欢

OSI seven layer reference model

Introduction to canoe automatic test system
![[Yunju entrepreneurial foundation notes] Chapter II entrepreneur test 20](/img/d5/4bce239b522696b5312b1346336b5f.jpg)
[Yunju entrepreneurial foundation notes] Chapter II entrepreneur test 20
![[Yunju entrepreneurial foundation notes] Chapter II entrepreneur test 14](/img/c5/dde92f887e8e73d7db869fcddc107f.jpg)
[Yunju entrepreneurial foundation notes] Chapter II entrepreneur test 14

Practical dry goods: deploy mini version message queue based on redis6.0

JD home programmers delete databases and run away. Talk about binlog, the killer of MySQL data backup
![[Yunju entrepreneurial foundation notes] Chapter II entrepreneur test 13](/img/29/49da279efed22706545929157788f0.jpg)
[Yunju entrepreneurial foundation notes] Chapter II entrepreneur test 13

Ternsort model integration summary

Oracle11g | getting started with database. It's enough to read this 10000 word analysis

Digital simulation beauty match preparation -matlab basic operation No. 6
随机推荐
Detailed explanation of classic process synchronization problems
Summary of Shanghai Jiaotong University postgraduate entrance examination module firewall technology
Global function Encyclopedia
template<typename MAP, typename LIST, typename First, typename ... Keytypes > recursive call with indefinite parameters - beauty of Pan China
Daemon xinted and logging syslogd
Notes on writing test points in mind mapping
Automatic translation between Chinese and English
2021-08-09
Recommend a cool geospatial data visualization tool with low code
Enter the smart Park, and change begins here
Data transmission in the network
How to judge the advantages and disadvantages of low code products in the market?
Snowflake won the 2021 annual database
Review of week 278 of leetcode II
[Yunju entrepreneurial foundation notes] Chapter II entrepreneur test 12
[Yunju entrepreneurial foundation notes] Chapter II entrepreneur test 7
VPS安装Virtualmin面板
R built in data set
20 kinds of hardware engineers must be aware of basic components | the latest update to 8.13
Force buckle 142 Circular linked list II