How many questions with accepted answer accepted my answer

1

Please login or register to vote for this query.

(click on this box to dismiss)

Stack Overflow

Q&A for professional and enthusiast programmers

SELECT
    CONVERT(
        decimal(4,2)
      , CONVERT(decimal(10),SUM(sq.x))
      / CONVERT(decimal(10),SUM(sq.x-1))
    ) AS x
FROM
  ( SELECT
        3 AS x
  ) AS sq
;

Enter Parameters

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