How to return a list of table in database?












0















Write a function named "get_records" that doesn't take any parameters. There is a database saved in a file named "apologize.db" containing a table named "foreigner" with columns "confirm", "handful", and "chemistry". Return a list containing all the records in the table "foreigner".



import sqlite3
def get_records():
conn = sqlite3.connect("apologize.db")
c = conn.cursor()
c.execute('INSERT INTO foreigner VALUES (
"confirm",
"handful",
"chemistry")')
conn.commit()
conn.close()


What am I doing wrong?










share|improve this question



























    0















    Write a function named "get_records" that doesn't take any parameters. There is a database saved in a file named "apologize.db" containing a table named "foreigner" with columns "confirm", "handful", and "chemistry". Return a list containing all the records in the table "foreigner".



    import sqlite3
    def get_records():
    conn = sqlite3.connect("apologize.db")
    c = conn.cursor()
    c.execute('INSERT INTO foreigner VALUES (
    "confirm",
    "handful",
    "chemistry")')
    conn.commit()
    conn.close()


    What am I doing wrong?










    share|improve this question

























      0












      0








      0








      Write a function named "get_records" that doesn't take any parameters. There is a database saved in a file named "apologize.db" containing a table named "foreigner" with columns "confirm", "handful", and "chemistry". Return a list containing all the records in the table "foreigner".



      import sqlite3
      def get_records():
      conn = sqlite3.connect("apologize.db")
      c = conn.cursor()
      c.execute('INSERT INTO foreigner VALUES (
      "confirm",
      "handful",
      "chemistry")')
      conn.commit()
      conn.close()


      What am I doing wrong?










      share|improve this question














      Write a function named "get_records" that doesn't take any parameters. There is a database saved in a file named "apologize.db" containing a table named "foreigner" with columns "confirm", "handful", and "chemistry". Return a list containing all the records in the table "foreigner".



      import sqlite3
      def get_records():
      conn = sqlite3.connect("apologize.db")
      c = conn.cursor()
      c.execute('INSERT INTO foreigner VALUES (
      "confirm",
      "handful",
      "chemistry")')
      conn.commit()
      conn.close()


      What am I doing wrong?







      python database sqlite






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Nov 24 '18 at 0:07







      user10649535































          3 Answers
          3






          active

          oldest

          votes


















          0














          From what your question says, I believe that you are looking for something similar to the following.



          def get_records():
          conn = sqlite3.connect("apologize.db")
          conn.row_factory = lambda cursor, row: row[0]
          c = conn.cursor()
          confirm_list = c.execute('SELECT confirm FROM foreigner').fetchall()
          handful_list = c.execute('SELECT handful FROM foreigner').fetchall()
          chemistry_list = c.execute('SELECT chemistry FROM foreigner').fetchall()
          conn.close()
          return [confirm_list, handful_list, chemistry_list]


          Or



          def get_records():
          conn = sqlite3.connect("apologize.db")
          conn.row_factory = lambda cursor, row: row[0]
          c = conn.cursor()
          confirm_list = c.execute('SELECT confirm FROM foreigner').fetchall()
          handful_list = c.execute('SELECT handful FROM foreigner').fetchall()
          chemistry_list = c.execute('SELECT chemistry FROM foreigner').fetchall()
          conn.close()
          return [list(x) for x in zip(confirm_list, handful_list, chemistry_list)]


          Cheers!






          share|improve this answer


























          • I am getting function get_records incorrect on input returned: [['shall', 'walking', 'poem', 'square', 'frustrate', 'soft'], ['tragic', 'brake', 'night', 'push', 'flood', 'information'], ['craft', 'heat', 'deal', 'productivity', 'neighbor', 'patent']] expected: [['shall', 'tragic', 'craft'], ['walking', 'brake', 'heat'], ['poem', 'night', 'deal'], ['square', 'push', 'productivity'], ['frustrate', 'flood', 'neighbor'], ['soft', 'information', 'patent']]

            – user10649535
            Nov 24 '18 at 0:26











          • Ok, it is looking for a row traversal I'll edit my solution in a second.

            – The Pineapple
            Nov 24 '18 at 0:33











          • Why in the world are you using three different queries for getting values from the table?

            – Shawn
            Nov 24 '18 at 0:46











          • @Shawn Originally I figured that Anonymous wanted each column separately. Therefore, I figured that the simplest way using the row factor would be sol 1. Given that Anonymous actually wanted rows, it just added the zip, because it was the simplest transition from what I already had, not the most efficient.

            – The Pineapple
            Nov 24 '18 at 0:51













          • expected: [['shall', 'tragic', 'craft'], ['walking', 'brake', 'heat'], ['poem', 'night', 'deal'], ['square', 'push', 'productivity'], ['frustrate', 'flood', 'neighbor'], ['soft', 'information', 'patent']]

            – user10649535
            Nov 24 '18 at 0:53



















          1














          You are using INSERT start with not SELECT start there...
          Review your code after that see where to go nex






          share|improve this answer































            0














            Instead of spending a few hours learning how to solve this specific problem with SQL, I suggest you signs a few hours learning an ORM like sqlalchemy and never have to write SQL ever again.



            from sqlalchemy import Column, ForeignKey, Integer, String
            from sqlalchemy.ext.declarative import declarative_base

            Base = declarative_base()

            class Foreigner(Base):
            __tablename__ = 'foreigner'
            id = Column(Integer, primary_key=True)
            confirm = Column(String(250), nullable=False)
            handful = ...
            chemistry = ...

            records = Foreigner.query.all()





            share|improve this answer
























            • How would you attempt the problem using sql? The compiler that I am using in University doesn't support sqlalchemy.

              – user10649535
              Nov 24 '18 at 1:00











            • There are other answers for how to solve using SQL, so I'll not retreat their ground. Instead I suggest determine how to install sqlalchemy on your machine. Are you unable to pip install sqlalchemy?

              – rikAtee
              Nov 24 '18 at 1:08











            Your Answer






            StackExchange.ifUsing("editor", function () {
            StackExchange.using("externalEditor", function () {
            StackExchange.using("snippets", function () {
            StackExchange.snippets.init();
            });
            });
            }, "code-snippets");

            StackExchange.ready(function() {
            var channelOptions = {
            tags: "".split(" "),
            id: "1"
            };
            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: true,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: 10,
            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
            });


            }
            });














            draft saved

            draft discarded


















            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53454086%2fhow-to-return-a-list-of-table-in-database%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown
























            3 Answers
            3






            active

            oldest

            votes








            3 Answers
            3






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            0














            From what your question says, I believe that you are looking for something similar to the following.



            def get_records():
            conn = sqlite3.connect("apologize.db")
            conn.row_factory = lambda cursor, row: row[0]
            c = conn.cursor()
            confirm_list = c.execute('SELECT confirm FROM foreigner').fetchall()
            handful_list = c.execute('SELECT handful FROM foreigner').fetchall()
            chemistry_list = c.execute('SELECT chemistry FROM foreigner').fetchall()
            conn.close()
            return [confirm_list, handful_list, chemistry_list]


            Or



            def get_records():
            conn = sqlite3.connect("apologize.db")
            conn.row_factory = lambda cursor, row: row[0]
            c = conn.cursor()
            confirm_list = c.execute('SELECT confirm FROM foreigner').fetchall()
            handful_list = c.execute('SELECT handful FROM foreigner').fetchall()
            chemistry_list = c.execute('SELECT chemistry FROM foreigner').fetchall()
            conn.close()
            return [list(x) for x in zip(confirm_list, handful_list, chemistry_list)]


            Cheers!






            share|improve this answer


























            • I am getting function get_records incorrect on input returned: [['shall', 'walking', 'poem', 'square', 'frustrate', 'soft'], ['tragic', 'brake', 'night', 'push', 'flood', 'information'], ['craft', 'heat', 'deal', 'productivity', 'neighbor', 'patent']] expected: [['shall', 'tragic', 'craft'], ['walking', 'brake', 'heat'], ['poem', 'night', 'deal'], ['square', 'push', 'productivity'], ['frustrate', 'flood', 'neighbor'], ['soft', 'information', 'patent']]

              – user10649535
              Nov 24 '18 at 0:26











            • Ok, it is looking for a row traversal I'll edit my solution in a second.

              – The Pineapple
              Nov 24 '18 at 0:33











            • Why in the world are you using three different queries for getting values from the table?

              – Shawn
              Nov 24 '18 at 0:46











            • @Shawn Originally I figured that Anonymous wanted each column separately. Therefore, I figured that the simplest way using the row factor would be sol 1. Given that Anonymous actually wanted rows, it just added the zip, because it was the simplest transition from what I already had, not the most efficient.

              – The Pineapple
              Nov 24 '18 at 0:51













            • expected: [['shall', 'tragic', 'craft'], ['walking', 'brake', 'heat'], ['poem', 'night', 'deal'], ['square', 'push', 'productivity'], ['frustrate', 'flood', 'neighbor'], ['soft', 'information', 'patent']]

              – user10649535
              Nov 24 '18 at 0:53
















            0














            From what your question says, I believe that you are looking for something similar to the following.



            def get_records():
            conn = sqlite3.connect("apologize.db")
            conn.row_factory = lambda cursor, row: row[0]
            c = conn.cursor()
            confirm_list = c.execute('SELECT confirm FROM foreigner').fetchall()
            handful_list = c.execute('SELECT handful FROM foreigner').fetchall()
            chemistry_list = c.execute('SELECT chemistry FROM foreigner').fetchall()
            conn.close()
            return [confirm_list, handful_list, chemistry_list]


            Or



            def get_records():
            conn = sqlite3.connect("apologize.db")
            conn.row_factory = lambda cursor, row: row[0]
            c = conn.cursor()
            confirm_list = c.execute('SELECT confirm FROM foreigner').fetchall()
            handful_list = c.execute('SELECT handful FROM foreigner').fetchall()
            chemistry_list = c.execute('SELECT chemistry FROM foreigner').fetchall()
            conn.close()
            return [list(x) for x in zip(confirm_list, handful_list, chemistry_list)]


            Cheers!






            share|improve this answer


























            • I am getting function get_records incorrect on input returned: [['shall', 'walking', 'poem', 'square', 'frustrate', 'soft'], ['tragic', 'brake', 'night', 'push', 'flood', 'information'], ['craft', 'heat', 'deal', 'productivity', 'neighbor', 'patent']] expected: [['shall', 'tragic', 'craft'], ['walking', 'brake', 'heat'], ['poem', 'night', 'deal'], ['square', 'push', 'productivity'], ['frustrate', 'flood', 'neighbor'], ['soft', 'information', 'patent']]

              – user10649535
              Nov 24 '18 at 0:26











            • Ok, it is looking for a row traversal I'll edit my solution in a second.

              – The Pineapple
              Nov 24 '18 at 0:33











            • Why in the world are you using three different queries for getting values from the table?

              – Shawn
              Nov 24 '18 at 0:46











            • @Shawn Originally I figured that Anonymous wanted each column separately. Therefore, I figured that the simplest way using the row factor would be sol 1. Given that Anonymous actually wanted rows, it just added the zip, because it was the simplest transition from what I already had, not the most efficient.

              – The Pineapple
              Nov 24 '18 at 0:51













            • expected: [['shall', 'tragic', 'craft'], ['walking', 'brake', 'heat'], ['poem', 'night', 'deal'], ['square', 'push', 'productivity'], ['frustrate', 'flood', 'neighbor'], ['soft', 'information', 'patent']]

              – user10649535
              Nov 24 '18 at 0:53














            0












            0








            0







            From what your question says, I believe that you are looking for something similar to the following.



            def get_records():
            conn = sqlite3.connect("apologize.db")
            conn.row_factory = lambda cursor, row: row[0]
            c = conn.cursor()
            confirm_list = c.execute('SELECT confirm FROM foreigner').fetchall()
            handful_list = c.execute('SELECT handful FROM foreigner').fetchall()
            chemistry_list = c.execute('SELECT chemistry FROM foreigner').fetchall()
            conn.close()
            return [confirm_list, handful_list, chemistry_list]


            Or



            def get_records():
            conn = sqlite3.connect("apologize.db")
            conn.row_factory = lambda cursor, row: row[0]
            c = conn.cursor()
            confirm_list = c.execute('SELECT confirm FROM foreigner').fetchall()
            handful_list = c.execute('SELECT handful FROM foreigner').fetchall()
            chemistry_list = c.execute('SELECT chemistry FROM foreigner').fetchall()
            conn.close()
            return [list(x) for x in zip(confirm_list, handful_list, chemistry_list)]


            Cheers!






            share|improve this answer















            From what your question says, I believe that you are looking for something similar to the following.



            def get_records():
            conn = sqlite3.connect("apologize.db")
            conn.row_factory = lambda cursor, row: row[0]
            c = conn.cursor()
            confirm_list = c.execute('SELECT confirm FROM foreigner').fetchall()
            handful_list = c.execute('SELECT handful FROM foreigner').fetchall()
            chemistry_list = c.execute('SELECT chemistry FROM foreigner').fetchall()
            conn.close()
            return [confirm_list, handful_list, chemistry_list]


            Or



            def get_records():
            conn = sqlite3.connect("apologize.db")
            conn.row_factory = lambda cursor, row: row[0]
            c = conn.cursor()
            confirm_list = c.execute('SELECT confirm FROM foreigner').fetchall()
            handful_list = c.execute('SELECT handful FROM foreigner').fetchall()
            chemistry_list = c.execute('SELECT chemistry FROM foreigner').fetchall()
            conn.close()
            return [list(x) for x in zip(confirm_list, handful_list, chemistry_list)]


            Cheers!







            share|improve this answer














            share|improve this answer



            share|improve this answer








            edited Nov 24 '18 at 1:03

























            answered Nov 24 '18 at 0:18









            The PineappleThe Pineapple

            408312




            408312













            • I am getting function get_records incorrect on input returned: [['shall', 'walking', 'poem', 'square', 'frustrate', 'soft'], ['tragic', 'brake', 'night', 'push', 'flood', 'information'], ['craft', 'heat', 'deal', 'productivity', 'neighbor', 'patent']] expected: [['shall', 'tragic', 'craft'], ['walking', 'brake', 'heat'], ['poem', 'night', 'deal'], ['square', 'push', 'productivity'], ['frustrate', 'flood', 'neighbor'], ['soft', 'information', 'patent']]

              – user10649535
              Nov 24 '18 at 0:26











            • Ok, it is looking for a row traversal I'll edit my solution in a second.

              – The Pineapple
              Nov 24 '18 at 0:33











            • Why in the world are you using three different queries for getting values from the table?

              – Shawn
              Nov 24 '18 at 0:46











            • @Shawn Originally I figured that Anonymous wanted each column separately. Therefore, I figured that the simplest way using the row factor would be sol 1. Given that Anonymous actually wanted rows, it just added the zip, because it was the simplest transition from what I already had, not the most efficient.

              – The Pineapple
              Nov 24 '18 at 0:51













            • expected: [['shall', 'tragic', 'craft'], ['walking', 'brake', 'heat'], ['poem', 'night', 'deal'], ['square', 'push', 'productivity'], ['frustrate', 'flood', 'neighbor'], ['soft', 'information', 'patent']]

              – user10649535
              Nov 24 '18 at 0:53



















            • I am getting function get_records incorrect on input returned: [['shall', 'walking', 'poem', 'square', 'frustrate', 'soft'], ['tragic', 'brake', 'night', 'push', 'flood', 'information'], ['craft', 'heat', 'deal', 'productivity', 'neighbor', 'patent']] expected: [['shall', 'tragic', 'craft'], ['walking', 'brake', 'heat'], ['poem', 'night', 'deal'], ['square', 'push', 'productivity'], ['frustrate', 'flood', 'neighbor'], ['soft', 'information', 'patent']]

              – user10649535
              Nov 24 '18 at 0:26











            • Ok, it is looking for a row traversal I'll edit my solution in a second.

              – The Pineapple
              Nov 24 '18 at 0:33











            • Why in the world are you using three different queries for getting values from the table?

              – Shawn
              Nov 24 '18 at 0:46











            • @Shawn Originally I figured that Anonymous wanted each column separately. Therefore, I figured that the simplest way using the row factor would be sol 1. Given that Anonymous actually wanted rows, it just added the zip, because it was the simplest transition from what I already had, not the most efficient.

              – The Pineapple
              Nov 24 '18 at 0:51













            • expected: [['shall', 'tragic', 'craft'], ['walking', 'brake', 'heat'], ['poem', 'night', 'deal'], ['square', 'push', 'productivity'], ['frustrate', 'flood', 'neighbor'], ['soft', 'information', 'patent']]

              – user10649535
              Nov 24 '18 at 0:53

















            I am getting function get_records incorrect on input returned: [['shall', 'walking', 'poem', 'square', 'frustrate', 'soft'], ['tragic', 'brake', 'night', 'push', 'flood', 'information'], ['craft', 'heat', 'deal', 'productivity', 'neighbor', 'patent']] expected: [['shall', 'tragic', 'craft'], ['walking', 'brake', 'heat'], ['poem', 'night', 'deal'], ['square', 'push', 'productivity'], ['frustrate', 'flood', 'neighbor'], ['soft', 'information', 'patent']]

            – user10649535
            Nov 24 '18 at 0:26





            I am getting function get_records incorrect on input returned: [['shall', 'walking', 'poem', 'square', 'frustrate', 'soft'], ['tragic', 'brake', 'night', 'push', 'flood', 'information'], ['craft', 'heat', 'deal', 'productivity', 'neighbor', 'patent']] expected: [['shall', 'tragic', 'craft'], ['walking', 'brake', 'heat'], ['poem', 'night', 'deal'], ['square', 'push', 'productivity'], ['frustrate', 'flood', 'neighbor'], ['soft', 'information', 'patent']]

            – user10649535
            Nov 24 '18 at 0:26













            Ok, it is looking for a row traversal I'll edit my solution in a second.

            – The Pineapple
            Nov 24 '18 at 0:33





            Ok, it is looking for a row traversal I'll edit my solution in a second.

            – The Pineapple
            Nov 24 '18 at 0:33













            Why in the world are you using three different queries for getting values from the table?

            – Shawn
            Nov 24 '18 at 0:46





            Why in the world are you using three different queries for getting values from the table?

            – Shawn
            Nov 24 '18 at 0:46













            @Shawn Originally I figured that Anonymous wanted each column separately. Therefore, I figured that the simplest way using the row factor would be sol 1. Given that Anonymous actually wanted rows, it just added the zip, because it was the simplest transition from what I already had, not the most efficient.

            – The Pineapple
            Nov 24 '18 at 0:51







            @Shawn Originally I figured that Anonymous wanted each column separately. Therefore, I figured that the simplest way using the row factor would be sol 1. Given that Anonymous actually wanted rows, it just added the zip, because it was the simplest transition from what I already had, not the most efficient.

            – The Pineapple
            Nov 24 '18 at 0:51















            expected: [['shall', 'tragic', 'craft'], ['walking', 'brake', 'heat'], ['poem', 'night', 'deal'], ['square', 'push', 'productivity'], ['frustrate', 'flood', 'neighbor'], ['soft', 'information', 'patent']]

            – user10649535
            Nov 24 '18 at 0:53





            expected: [['shall', 'tragic', 'craft'], ['walking', 'brake', 'heat'], ['poem', 'night', 'deal'], ['square', 'push', 'productivity'], ['frustrate', 'flood', 'neighbor'], ['soft', 'information', 'patent']]

            – user10649535
            Nov 24 '18 at 0:53













            1














            You are using INSERT start with not SELECT start there...
            Review your code after that see where to go nex






            share|improve this answer




























              1














              You are using INSERT start with not SELECT start there...
              Review your code after that see where to go nex






              share|improve this answer


























                1












                1








                1







                You are using INSERT start with not SELECT start there...
                Review your code after that see where to go nex






                share|improve this answer













                You are using INSERT start with not SELECT start there...
                Review your code after that see where to go nex







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Nov 24 '18 at 0:20









                Thendo RambaneThendo Rambane

                111




                111























                    0














                    Instead of spending a few hours learning how to solve this specific problem with SQL, I suggest you signs a few hours learning an ORM like sqlalchemy and never have to write SQL ever again.



                    from sqlalchemy import Column, ForeignKey, Integer, String
                    from sqlalchemy.ext.declarative import declarative_base

                    Base = declarative_base()

                    class Foreigner(Base):
                    __tablename__ = 'foreigner'
                    id = Column(Integer, primary_key=True)
                    confirm = Column(String(250), nullable=False)
                    handful = ...
                    chemistry = ...

                    records = Foreigner.query.all()





                    share|improve this answer
























                    • How would you attempt the problem using sql? The compiler that I am using in University doesn't support sqlalchemy.

                      – user10649535
                      Nov 24 '18 at 1:00











                    • There are other answers for how to solve using SQL, so I'll not retreat their ground. Instead I suggest determine how to install sqlalchemy on your machine. Are you unable to pip install sqlalchemy?

                      – rikAtee
                      Nov 24 '18 at 1:08
















                    0














                    Instead of spending a few hours learning how to solve this specific problem with SQL, I suggest you signs a few hours learning an ORM like sqlalchemy and never have to write SQL ever again.



                    from sqlalchemy import Column, ForeignKey, Integer, String
                    from sqlalchemy.ext.declarative import declarative_base

                    Base = declarative_base()

                    class Foreigner(Base):
                    __tablename__ = 'foreigner'
                    id = Column(Integer, primary_key=True)
                    confirm = Column(String(250), nullable=False)
                    handful = ...
                    chemistry = ...

                    records = Foreigner.query.all()





                    share|improve this answer
























                    • How would you attempt the problem using sql? The compiler that I am using in University doesn't support sqlalchemy.

                      – user10649535
                      Nov 24 '18 at 1:00











                    • There are other answers for how to solve using SQL, so I'll not retreat their ground. Instead I suggest determine how to install sqlalchemy on your machine. Are you unable to pip install sqlalchemy?

                      – rikAtee
                      Nov 24 '18 at 1:08














                    0












                    0








                    0







                    Instead of spending a few hours learning how to solve this specific problem with SQL, I suggest you signs a few hours learning an ORM like sqlalchemy and never have to write SQL ever again.



                    from sqlalchemy import Column, ForeignKey, Integer, String
                    from sqlalchemy.ext.declarative import declarative_base

                    Base = declarative_base()

                    class Foreigner(Base):
                    __tablename__ = 'foreigner'
                    id = Column(Integer, primary_key=True)
                    confirm = Column(String(250), nullable=False)
                    handful = ...
                    chemistry = ...

                    records = Foreigner.query.all()





                    share|improve this answer













                    Instead of spending a few hours learning how to solve this specific problem with SQL, I suggest you signs a few hours learning an ORM like sqlalchemy and never have to write SQL ever again.



                    from sqlalchemy import Column, ForeignKey, Integer, String
                    from sqlalchemy.ext.declarative import declarative_base

                    Base = declarative_base()

                    class Foreigner(Base):
                    __tablename__ = 'foreigner'
                    id = Column(Integer, primary_key=True)
                    confirm = Column(String(250), nullable=False)
                    handful = ...
                    chemistry = ...

                    records = Foreigner.query.all()






                    share|improve this answer












                    share|improve this answer



                    share|improve this answer










                    answered Nov 24 '18 at 0:23









                    rikAteerikAtee

                    4,88053059




                    4,88053059













                    • How would you attempt the problem using sql? The compiler that I am using in University doesn't support sqlalchemy.

                      – user10649535
                      Nov 24 '18 at 1:00











                    • There are other answers for how to solve using SQL, so I'll not retreat their ground. Instead I suggest determine how to install sqlalchemy on your machine. Are you unable to pip install sqlalchemy?

                      – rikAtee
                      Nov 24 '18 at 1:08



















                    • How would you attempt the problem using sql? The compiler that I am using in University doesn't support sqlalchemy.

                      – user10649535
                      Nov 24 '18 at 1:00











                    • There are other answers for how to solve using SQL, so I'll not retreat their ground. Instead I suggest determine how to install sqlalchemy on your machine. Are you unable to pip install sqlalchemy?

                      – rikAtee
                      Nov 24 '18 at 1:08

















                    How would you attempt the problem using sql? The compiler that I am using in University doesn't support sqlalchemy.

                    – user10649535
                    Nov 24 '18 at 1:00





                    How would you attempt the problem using sql? The compiler that I am using in University doesn't support sqlalchemy.

                    – user10649535
                    Nov 24 '18 at 1:00













                    There are other answers for how to solve using SQL, so I'll not retreat their ground. Instead I suggest determine how to install sqlalchemy on your machine. Are you unable to pip install sqlalchemy?

                    – rikAtee
                    Nov 24 '18 at 1:08





                    There are other answers for how to solve using SQL, so I'll not retreat their ground. Instead I suggest determine how to install sqlalchemy on your machine. Are you unable to pip install sqlalchemy?

                    – rikAtee
                    Nov 24 '18 at 1:08


















                    draft saved

                    draft discarded




















































                    Thanks for contributing an answer to Stack Overflow!


                    • 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%2fstackoverflow.com%2fquestions%2f53454086%2fhow-to-return-a-list-of-table-in-database%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

                    404 Error Contact Form 7 ajax form submitting

                    How to know if a Active Directory user can login interactively

                    TypeError: fit_transform() missing 1 required positional argument: 'X'