Question / Answer

Case when 98988743 then 9898 else null end

Vertaald door AI (EN). Toon origineel (NL)


The syntax you are using resembles a SQL CASE expression. It seems you want to set up a condition that checks whether a certain number is equal to 98988743. If that is true, the value 9898 should be returned; otherwise, null should be returned.

Here is an example of how you can write this in SQL:

```sql
SELECT
CASE
WHEN your_column = 98988743 THEN 9898
ELSE NULL
END AS result
FROM your_table;
```

Replace `your_column` and `your_table` with the appropriate column names and table names in your database. This will result in 9898 if the value of `your_column` is equal to 98988743, or null if that is not the case.


Google Search also contributes even further

[edit this question / answer]