title: Write a query to print all prime numbers less than or equal to
body: <blockquote>
  <p>Write a query to print all prime numbers less than or equal to. Print your result on a single line, and use the ampersand (&amp;) character as your separator (instead of a space).</p>
  </blockquote>
  <blockquote>
  <p>For example, the output for all prime numbers (&lt;= 10) would be:</p>
  </blockquote>
  <blockquote>
  <p>Output : 2&amp;3&amp;5&amp;7</p>
  </blockquote>