<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: SQL in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/SQL/m-p/519968#M74594</link>
    <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;JMP can query DB like below:&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;obj = New SQL Query( Connection( "ODBC:DSN=SampleDSN;" ), Custom SQL( "SELECT c1, c2, c3 FROM my_table;" ) );&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Put SQL into 'Custom SQL()'. Details could be serched from script index with key word 'SQL'&lt;/P&gt;</description>
    <pubDate>Tue, 12 Jul 2022 00:30:47 GMT</pubDate>
    <dc:creator>frank_wang</dc:creator>
    <dc:date>2022-07-12T00:30:47Z</dc:date>
    <item>
      <title>SQL</title>
      <link>https://community.jmp.com/t5/Discussions/SQL/m-p/519696#M74570</link>
      <description>&lt;P&gt;Dear All,&lt;/P&gt;&lt;P&gt;I would like to make a query on a database that contains two separate columns in which different genetic mutations are indicated.&lt;BR /&gt;Therefore I would like to look for two mutations at the same time.&lt;BR /&gt;I wrote the following program in SAS:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc sql;&lt;BR /&gt;create table f.gat as&lt;BR /&gt;select *&lt;BR /&gt;from f.c&lt;BR /&gt;where mutation1 in ("G178R", "S549N", "S549R", "S549R (A-&amp;gt; C)", "S549R (T-&amp;gt; G)", "G551D", "G551S", "G1244E", "S1251N "," S1255P "," G1349D ")&lt;BR /&gt;or / and&lt;BR /&gt;mutation2 in ("G178R", "S549N", "S549R", "S549R (A-&amp;gt; C)", "S549R (T-&amp;gt; G)", "G551D", "G551S", "G1244E", "S1251N" , "S1255P", "G1349D");&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;in JMP is it possible to write a program that does the same thing that SAS does? Is it possible to replace "in" with "not in" or different?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 09 Jun 2023 17:03:56 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/SQL/m-p/519696#M74570</guid>
      <dc:creator>GiuseppeC</dc:creator>
      <dc:date>2023-06-09T17:03:56Z</dc:date>
    </item>
    <item>
      <title>Re: SQL</title>
      <link>https://community.jmp.com/t5/Discussions/SQL/m-p/519968#M74594</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;JMP can query DB like below:&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;obj = New SQL Query( Connection( "ODBC:DSN=SampleDSN;" ), Custom SQL( "SELECT c1, c2, c3 FROM my_table;" ) );&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Put SQL into 'Custom SQL()'. Details could be serched from script index with key word 'SQL'&lt;/P&gt;</description>
      <pubDate>Tue, 12 Jul 2022 00:30:47 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/SQL/m-p/519968#M74594</guid>
      <dc:creator>frank_wang</dc:creator>
      <dc:date>2022-07-12T00:30:47Z</dc:date>
    </item>
  </channel>
</rss>

