9)In scala, which one of the following will give the top 10 resolutions to the console, assuming that sfpdDF is the DataFrame registered as a table - sfpd?
a. sqlContext.sql("SELECT resolution, count(incidentnum) AS cnt FROM sfpd GROUP BY resolution ORDER BY inccount DESC limit 10")
b. sfpdDF.select("resolution".count.sort($"count".desc).show(10)
c. sfpdDF.groupBy("partition").count.unsort($"count".desc).show(20)
d. sfpdDF.select("parquet").count.sort(S"count".desc).show(10)