Questions and Answers
Problems and Solutions
Quotes help make search much faster. Example: "Practice Makes Perfect"
Tuesday, May 9, 2017
Codecademy SQL: Analyzing Business Metrics Exercise 12 of 14
--first answer
select
date(created_at) as dt,
user_id
from gameplays as g1
order by dt
limit 100;
--second answer
select
date(g1.created_at) as dt,
g1.user_id
from gameplays as g1
join gameplays as g2 on
g1.user_id = g2.user_id
order by 1
limit 100;
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
This is an example of
scrolling text
using Javascript.
Popular Posts
What hotkeys can you use in a Python shell to repeat the previous command you typed?
Answer: Alt - p p stands for previous. If you keep pressing Alt - p, you will continue cycling back through commands you typed before. I...
Codecademy: "Function and Control Flow"
//sample solution def isEven(x): if(x % 2 == 0): return "yep" else: return "nope"
Codecademy: "Unless"
#sample solution hungry = false unless hungry puts "I'm writing Ruby programs!" else puts "Time to eat!...
Codecademy: Codeyear Nesting conditional statements
//sample solution var yourName = "Pam"; var gender = "female"; var result; //Line 10 starts an if statement //Ne...
Codecademy: Structure the Webpage
<!--sample solution--> <html> <head> <title>Week 13 Project</title> </head> ...
Make a Website: HTML Wrap with a div
<!-- Sample solution to index.html --> <!DOCTYPE html> <html> <body> <div class="nav"> ...
Codeschool Sample Solution Selecting Direct Children
$("#tours > li")
Codecademy Joining Tables in R Concatenate Data Frames 10/11
#Sample Solution --- title: "Joining Tables in R" output: html_notebook --- ```{r message = FALSE} # load packages library...
DataCamp Booleans in Python Sample Solution
# Test equality test_company = 'apple' print(company_1 == test_company) # Compare revenue_1 and revenue_2 print(revenue_1 ...
Codecademy: Codeyear Setting values using a ternary operator
//sample solution var food = prompt("What food would you suggest?"); /*if (food === "taco") { foodType = "Mex...
No comments:
Post a Comment