How to write superscript in SQL?? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How to write superscript in SQL??

17th Nov 2019, 4:05 PM
Pranav s
Pranav s - avatar
10 Answers
17th Nov 2019, 11:27 PM
Xyenia 🦉
Xyenia 🦉 - avatar
0
?
17th Nov 2019, 4:33 PM
Aymane Boukrouh
Aymane Boukrouh - avatar
0
Like how i can display 3²
17th Nov 2019, 4:35 PM
Pranav s
Pranav s - avatar
0
SQL is just a database, you don't display things with it. There is no limit to how many ways you can store this exact number. 1. You can try and make one column for the number, and the other for the power 2. You can store it using unicode character number
17th Nov 2019, 4:37 PM
Aymane Boukrouh
Aymane Boukrouh - avatar
0
Ok
17th Nov 2019, 4:37 PM
Pranav s
Pranav s - avatar
0
I was asking to know if there was another way than using unicode
17th Nov 2019, 4:38 PM
Pranav s
Pranav s - avatar
0
Anyways thanks
17th Nov 2019, 4:38 PM
Pranav s
Pranav s - avatar
0
I believe you can store it as it is, have you tried that ?
17th Nov 2019, 4:39 PM
Aymane Boukrouh
Aymane Boukrouh - avatar
0
Nope
17th Nov 2019, 4:41 PM
Pranav s
Pranav s - avatar
0
Try it, I believe it can be directly addef to the database without any problems
17th Nov 2019, 4:42 PM
Aymane Boukrouh
Aymane Boukrouh - avatar