JTPI: JVM Languages - Other Languages - Part 1

0

Please login or register to vote for this query.

(click on this box to dismiss)

IT Security Meta

Q&A about the site for information security professionals

DECLARE @StartDate DATE = '2009-01-01';
DECLARE @EndDate DATE = '2023-03-31';

WITH TaggedQuestions AS (
  SELECT
    Id,
    CreationDate,
    CASE WHEN CHARINDEX('<xamarin>', Tags) > 0 THEN 1 ELSE 0 END AS XamarinTag,
    CASE WHEN CHARINDEX('<maui>', Tags) > 0 THEN 1 ELSE 0 END AS NetMAUITag
  FROM Posts
  WHERE
    PostTypeId = 1 AND -- 1 for questions
    CreationDate >= @StartDate AND
    CreationDate <= @EndDate
),
MonthlyCounts AS (
  SELECT
    DATEADD(month, DATEDIFF(month, 0, CreationDate), 0) AS Month,
    SUM(XamarinTag) AS Xamarin,
    SUM(NetMAUITag) AS NetMAUI
  FROM TaggedQuestions
  GROUP BY DATEADD(month, DATEDIFF(month, 0, CreationDate), 0)
)
SELECT
  Month,
  Xamarin,
  NetMAUI
FROM MonthlyCounts
ORDER BY Month;

Enter Parameters

Options:
Switch to main site
loading Hold tight while we fetch your results