Question: I am struggling with SQL in R studio. There are 12 variables from sqlite file. I think I should say table name(?) f1. What is





I am struggling with SQL in R studio.
There are 12 variables from sqlite file. I think I should say table name(?)

![54 + [1] "AboutMe" "AccountId" "creationDate" "DisplayName" [5] "DownVotes "Id" "LastAccessDate" "Location"](https://s3.amazonaws.com/si.experts.images/answers/2024/06/6673cf1df1b1a_6936673cf1dd624c.jpg)
![[9] "profileImageur1" "Reputation" "UpVotes" "views" [13] "websiteurl72 playerinyear = dbGetQuery (con, paste("SELECT](https://s3.amazonaws.com/si.experts.images/answers/2024/06/6673cf1e4431f_6946673cf1e32751.jpg)


\f1. What is the date range for the questions and answers in this database? 2. How many users are there? 3. How many users joined since 2020? 4. How many users joined each year? Describe this with a plot.51 dbListFields (con, "Users") 52 dbListFields (con, "VoteTypes") 53 dbListFields (con, "votes") 54 + [1] "AboutMe" "AccountId" "creationDate" "DisplayName" [5] "DownVotes "Id" "LastAccessDate" "Location" [9] "profileImageur1" "Reputation" "UpVotes" "views" [13] "websiteurl72 playerinyear = dbGetQuery (con, paste("SELECT CreationDate, COUNT(DISTINCT Id) AS numUsers 73 FROM Users 74 WHERE CreationDate BETWEEN 2020 and 2022 75 GROUP BY CreationDate")) 76 playerinyear 77 78 79 gfg
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
