A strange table!

Report a typo

Why not create a strange table with the only column? Let's say we want to store the adverbs that we have seen in texts. We have imported all necessary modules for declarative mapping in advance. Unfortunately, the lines of the code got mixed. Put them in the correct order.

Reorder lines using drag or arrows. Adjust indentation with left buttons
                class Adverbs(Base):
              
                __tablename__ = 'adverbs'
              
                Base = declarative_base()
              
                word = Column(String(30), primary_key=True)
              
___

Create a free account to access the full topic