官术网_书友最值得收藏!

  • MySQL for Python
  • Albert Lukaszewski, PhD
  • 113字
  • 2021-04-13 17:12:30

Summary

It almost goes without saying that querying and data retrieval is the bread and butter of database programming. In this chapter, we have covered the formation of a MySQL query and how to pass it from Python. We also saw how to use user-defined variables to allow dynamic formation of statements rather than pre-configured queries. In order to adjust our program flow, we also saw how to determine the characteristics of a database and its tables from within Python. Finally, we programmed a command-line search utility that returns data of the user's choice in two different formats.

In the next chapter, we will look at the flipside of the SELECT command, INSERT.

主站蜘蛛池模板: 聊城市| 莲花县| 金华市| 综艺| 临澧县| 白朗县| 山东| 丹寨县| 韶山市| 同德县| 平塘县| 利津县| 弥勒县| 化州市| 徐闻县| 望都县| 喀什市| 临海市| 沙坪坝区| 云安县| 阿城市| 萨嘎县| 宁化县| 霍城县| 丹阳市| 会同县| 普兰县| 前郭尔| 临颍县| 县级市| 剑河县| 定南县| 贵德县| 措勤县| 修文县| 宜良县| 绥德县| 平安县| 泸西县| 华蓥市| 揭阳市|