is there a way to let mysql join some external data without import those data into db ...

Why do we bend a book to keep it straight?

ArcGIS Pro Python arcpy.CreatePersonalGDB_management

What is the difference between globalisation and imperialism?

Why should I vote and accept answers?

Can a new player join a group only when a new campaign starts?

Selecting user stories during sprint planning

How were pictures turned from film to a big picture in a picture frame before digital scanning?

What initially awakened the Balrog?

How fail-safe is nr as stop bytes?

Why weren't discrete x86 CPUs ever used in game hardware?

Amount of permutations on an NxNxN Rubik's Cube

How often does castling occur in grandmaster games?

How to play a character with a disability or mental disorder without being offensive?

Do I really need to have a message in a novel to appeal to readers?

If Windows 7 doesn't support WSL, then what does Linux subsystem option mean?

Is there a kind of relay that only consumes power when switching?

Is it fair for a professor to grade us on the possession of past papers?

How much damage would a cupful of neutron star matter do to the Earth?

How to install press fit bottom bracket into new frame

Dating a Former Employee

Using audio cues to encourage good posture

Why wasn't DOSKEY integrated with COMMAND.COM?

Why do we need to use the builder design pattern when we can do the same thing with setters?

Central Vacuuming: Is it worth it, and how does it compare to normal vacuuming?



is there a way to let mysql join some external data without import those data into db



Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 23, 2019 at 00:00UTC (8:00pm US/Eastern)Oracle SQL for left outer join to rownum = 1 of another query?MySQL - query join returning zero recs from table with dataMySQL : Best way to handle large dataHow can I pivot a view into a join so I get multiple query rows as columns in a single row?table is corrupted after getting 1114 error : table is fullWhen 3rd NF is not the best solution? (Performance)Sql join with three tables and multiple rowsJoining two tables by the nearest matchLoading 400 Million Records into MySQL Hangs on “Sending Data”Adding LEFT JOIN to a query has increased execution time 10 times





.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ margin-bottom:0;
}







0















i have some static data which stored in a json file



outinfo=
[{out_id:123,out_name:'hello'}]


and i have a table,



----tableA----  
| id | label | out_id |
| 1 | a | 123 |
| 2 | b | 123 |


i wanna select all info out like

{id:1,label:"a",out_name:"hello"}

it is easy to achieve that by import the outside json data into db table, and selelct them out though a simple left join query

but i wanna know how to achieve that if don't create a table for those static datas.









share







New contributor




Kent Wood is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.



























    0















    i have some static data which stored in a json file



    outinfo=
    [{out_id:123,out_name:'hello'}]


    and i have a table,



    ----tableA----  
    | id | label | out_id |
    | 1 | a | 123 |
    | 2 | b | 123 |


    i wanna select all info out like

    {id:1,label:"a",out_name:"hello"}

    it is easy to achieve that by import the outside json data into db table, and selelct them out though a simple left join query

    but i wanna know how to achieve that if don't create a table for those static datas.









    share







    New contributor




    Kent Wood is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
    Check out our Code of Conduct.























      0












      0








      0








      i have some static data which stored in a json file



      outinfo=
      [{out_id:123,out_name:'hello'}]


      and i have a table,



      ----tableA----  
      | id | label | out_id |
      | 1 | a | 123 |
      | 2 | b | 123 |


      i wanna select all info out like

      {id:1,label:"a",out_name:"hello"}

      it is easy to achieve that by import the outside json data into db table, and selelct them out though a simple left join query

      but i wanna know how to achieve that if don't create a table for those static datas.









      share







      New contributor




      Kent Wood is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.












      i have some static data which stored in a json file



      outinfo=
      [{out_id:123,out_name:'hello'}]


      and i have a table,



      ----tableA----  
      | id | label | out_id |
      | 1 | a | 123 |
      | 2 | b | 123 |


      i wanna select all info out like

      {id:1,label:"a",out_name:"hello"}

      it is easy to achieve that by import the outside json data into db table, and selelct them out though a simple left join query

      but i wanna know how to achieve that if don't create a table for those static datas.







      mysql join





      share







      New contributor




      Kent Wood is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.










      share







      New contributor




      Kent Wood is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.








      share



      share






      New contributor




      Kent Wood is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.









      asked 6 mins ago









      Kent WoodKent Wood

      1011




      1011




      New contributor




      Kent Wood is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.





      New contributor





      Kent Wood is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.






      Kent Wood is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.






















          0






          active

          oldest

          votes












          Your Answer








          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "182"
          };
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function() {
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled) {
          StackExchange.using("snippets", function() {
          createEditor();
          });
          }
          else {
          createEditor();
          }
          });

          function createEditor() {
          StackExchange.prepareEditor({
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: false,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: null,
          bindNavPrevention: true,
          postfix: "",
          imageUploader: {
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          },
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          });


          }
          });






          Kent Wood is a new contributor. Be nice, and check out our Code of Conduct.










          draft saved

          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fdba.stackexchange.com%2fquestions%2f235243%2fis-there-a-way-to-let-mysql-join-some-external-data-without-import-those-data-in%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          0






          active

          oldest

          votes








          0






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes








          Kent Wood is a new contributor. Be nice, and check out our Code of Conduct.










          draft saved

          draft discarded


















          Kent Wood is a new contributor. Be nice, and check out our Code of Conduct.













          Kent Wood is a new contributor. Be nice, and check out our Code of Conduct.












          Kent Wood is a new contributor. Be nice, and check out our Code of Conduct.
















          Thanks for contributing an answer to Database Administrators Stack Exchange!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fdba.stackexchange.com%2fquestions%2f235243%2fis-there-a-way-to-let-mysql-join-some-external-data-without-import-those-data-in%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          ORA-01691 (unable to extend lob segment) even though my tablespace has AUTOEXTEND onORA-01692: unable to...

          Always On Availability groups resolving state after failover - Remote harden of transaction...

          Circunscripción electoral de Guipúzcoa Referencias Menú de navegaciónLas claves del sistema electoral en...