Master Using SQL with Python: Lesson 7 - Maintaining Data in SQLite

แชร์
ฝัง
  • เผยแพร่เมื่อ 9 ม.ค. 2025

ความคิดเห็น • 15

  • @a225855305
    @a225855305 4 ปีที่แล้ว +1

    This year I saw so many video. yours is the best one. really thank you!

    • @a225855305
      @a225855305 4 ปีที่แล้ว +1

      can't wait for read your book!!

    • @BryanCafferky
      @BryanCafferky  4 ปีที่แล้ว

      @@a225855305 Thank you!

  • @AltDotAlex
    @AltDotAlex 4 ปีที่แล้ว +1

    I've been needing to really grok sqlite for a while, good choice of topic!

    • @BryanCafferky
      @BryanCafferky  4 ปีที่แล้ว

      It's such a great tool to have in Python but it has some nuances.

  • @LukeAvedon
    @LukeAvedon 4 ปีที่แล้ว +2

    Can't wait to read your book Bryan!

    • @BryanCafferky
      @BryanCafferky  4 ปีที่แล้ว

      Thanks and if you like it. Please leave a review on Amazon!

  • @eduard0ml
    @eduard0ml 11 หลายเดือนก่อน

    Hi Bryan, your videos are really good. I would like to know if there is a way to get the .db file and send it to the database with all the tables (SQL Server or Postgres)

  • @craigmiles6145
    @craigmiles6145 3 ปีที่แล้ว +1

    Noticed when 'Huang' was changed to 'Jones' and marital status changed from 'Single' to 'Married' that the 'ETLlastupdate' was NOT modified to current. ?

    • @BryanCafferky
      @BryanCafferky  3 ปีที่แล้ว

      True. ETLLastUpdate will be assigned a value on insert or must be explicitly assigned a value on Update. The Insert/Replace statement should delete and re-insert the row on an update which will give it a new date/time value. Good observation.

  • @kuatroka
    @kuatroka 2 ปีที่แล้ว +1

    Thanks for the video. Maybe I missed it but I couldn’t find the follow up video explaining the use of UPSERT in SQLite. Could you please point me to the video where it’s covered? Thanks

    • @BryanCafferky
      @BryanCafferky  2 ปีที่แล้ว +1

      YW. Hmmm... Not sure. But I cover it nicely as part of this recent video, i.e. when storing the API results to SQLite. th-cam.com/video/PLeusjAj5RE/w-d-xo.html

    • @kuatroka
      @kuatroka 2 ปีที่แล้ว +1

      @@BryanCafferky Brilliant! Thanks Bryan. Two notes. 1. It’d be interesting to see an explanation of when to use and when not to use the “connection.cursor “in SQLite. I’m not sure when it’s needed if the inserts can be done with just “sqlite3.connection”.
      2. Let me know if you’re shopping for ideas on future videos. I got a real life scenario for a potential data pipeline that would involve technologies like Prefect/Airbyte, dbt, SQLite and Clickhouse. I don’t want to impose so if you’re interested to make an educational video about it, I’d be happy to expand on details and the use case

    • @BryanCafferky
      @BryanCafferky  2 ปีที่แล้ว +1

      @@kuatroka Using pandas lets you get away without the cursor sometimes. Here's a blog on using SQLite cursor.
      Your project sounds interesting but I try to keep my videos general enough to be of interest to a fairly broad audience. Data engineers limit my audience a lot as it is but I may do some of those technologies.

    • @kuatroka
      @kuatroka 2 ปีที่แล้ว +1

      @@BryanCafferky thanks Bryan