Ask Question Sign In Sign Up
Home
Sign In
Sign Up
  • Home
  • >
  • SQL
  • >
  • Nice example how to use When and Case in SQL
PHP JavaScript C/C++ Golang Java Python SQL Ruby Kotlin Swift Other
Category
PHP
JavaScript
C/C++
Golang
Java
Python
SQL
Ruby
Kotlin
Swift
Other

Nice example how to use When and Case in SQL

Member

adelia_boyer

by adelia_boyer , in category: SQL , a year ago

Nice example how to use When and Case in SQL 🤣

1
SELECT a.*, ads.*, CASE ads.operation_id WHEN 1 THEN 2 WHEN 2 THEN 1 ELSE 3 END AS sort


Facebook Twitter LinkedIn Telegram Whatsapp Pocket

no answers

Related Threads:

Nice way to generate SQL query in Python

Parse Command method in real project on the Java

Switch statement in Javascript

Design Product Table in SQL when you don't know how is foreign keys works in SQL

Store Procedure in SQL not good example

Always 2 happy hobbits in PHP

About us

  • Contact us
© 2023 Copyright: crapcodes.com

This Site is Created By mywebforum.com

Get Your Own Questions & Answers platform