7 kyu
SQL Basics: Raise to the Power
12,085 of 12,086PG1
Loading description...
Fundamentals
Mathematics
SQL
View
This comment has been reported as {{ abuseKindText }}.
Show
This comment has been hidden. You can view it now .
This comment can not be viewed.
- |
- Reply
- Edit
- View Solution
- Expand 1 Reply Expand {{ comments?.length }} replies
- Collapse
- Spoiler
- Remove
- Remove comment & replies
- Report
{{ fetchSolutionsError }}
-
-
Your rendered github-flavored markdown will appear here.
-
Label this discussion...
-
No Label
Keep the comment unlabeled if none of the below applies.
-
Issue
Use the issue label when reporting problems with the kata.
Be sure to explain the problem clearly and include the steps to reproduce. -
Suggestion
Use the suggestion label if you have feedback on how this kata can be improved.
-
Question
Use the question label if you have questions and/or need help solving the kata.
Don't forget to mention the language you're using, and mark as having spoiler if you include your solution.
-
No Label
- Cancel
Commenting is not allowed on this discussion
You cannot view this solution
There is no solution to show
Please sign in or sign up to leave a comment.
I think this might be more of an 8th Kyu challenge. Not because I expect everyone to know the syntax for power() off the top of their head, but because once you look that up, it's very straight forward.
it's a good one, I thought of CONCAT firstly because I didn't know what "raised to the power" means :D so, yeah, it's a good kata for newbies like me
Glad it was useful!
This comment has been hidden.
Not a kata issue, why the GROUP BY clause?
omg, i must of been out of it, i saw this comment at work and couldnt check if i had the group by clause, i didnt even realize it was there lol, thanks Chrono79, also did i do that right with the spoiler tag? I didnt want to break rules and post answer
You're welcome. Mark your post as having spoiler content next time (I mean the first one) I don't remember if it was marked or not.
ok appreciate it alot, i think marked it spoiler also, no one got on to me yet for posting an answer, so i think i did it right lol.
maybe for some of you guys said this was too easy, but me as person who new in SQL this is very useful! right now i know how to use POW in sql :)
pretty simple and straightforward, should possibly be a 8 kyu
I agree - lots of kyu 8 kata's were harder than this one.
This is too easy to be a 7 kyu, should be an 8 kyu
All these katas start looking like duplicates to me. The principle is the same, the words to google (that is, in the worst case) are different...
Thats sort of the idea - they are very basic kata (and identified as that) to capture largely syntax to achieve tjings as I learn SQL. More complicated ones will come in time. The things being done are different and so they arent duplicates.
Thanks for writing these. I enjoy simple kata for easing into a new language. They help one push through the initial tedium of term memorization.