用sql的case when语句替换文化程度education_level:00研究生;01研究生毕业;02博士后;03博士;04硕士;09研究生肄业;10大学本科;11大学毕业;18相当大学毕业;19大学肄业;20专科;21大学专科;22专科毕业;28相当专科毕业;29大专肄业;30中专中技;31中专毕业;32中技毕业;38相当中专中技;39中专中技肄业;40技校;41技工学校毕业;49技工学校肄业;50高中;51高中毕业;52职业高中毕业;53农业高中毕业;58相当高中毕业;59高中肄业;60初中;61初中毕业;62职业初中毕业;63农业初中毕业;68相当初中毕业;69初中肄业;70小学;71小学毕业;78相当小学毕业;79小学肄业;80文盲或半文盲
时间: 2023-02-10 13:41:16 浏览: 79
您可以使用以下语句来替换 education_level:
```
SELECT
case education_level
when '00' then '研究生'
when '01' then '研究生毕业'
when '02' then '博士后'
when '03' then '博士'
when '04' then '硕士'
when '09' then '研究生肄业'
when '10' then '大学本科'
when '11' then '大学毕业'
when '18' then '相当大学毕业'
when '19' then '大学肄业'
when '20' then '专科'
when '21' then '大学专科'
when '22' then '专科毕业'
when '28' then '相当专科毕业'
when '29' then '大专肄业'
when '30' then '中专中技'
when '31' then '中专毕业'
when '32' then '中技毕业'
when '38' then '相当中专中技'
when '39' then '中专中技肄业'
when '40' then '技校'
when '41' then '技工学校毕业'
when '49' then '技工学校肄业'
when '50' then '高中'
when '51' then '高中毕业'
when '52' then '职业高中毕业'
when '53' then '农业高中毕业'
when '58' then '相当高中毕业'
when '59' then '高中肄业'
when '60' then '初中'
when '61' then '初中毕业'
when '62' then '职业初中毕业'
when '63' then '农业初中毕业'
when '68' then '相当初中毕业'
when '69' then '初中肄业'
when '70' then '小学'
when '71' then '小学毕业'
when '78' then '相当小学毕业'
when '79' then '小学肄业'
when '80' then '文盲或半文盲'