PostgreSQL 9 Administration Cookbook by Unknown
Author:Unknown
Language: eng
Format: epub, mobi
Publisher: Packt Publishing
Each row in our view corresponds to one row in a single-source table and each column is referred to directly without a function call. So we expect to be able to make inserts, updates, and deletes pass through our view into the base table.
The following examples are all views where inserts, updates, and deletes cannot easily be made to flow to the base table.
If we had views that look like the following:
CREATE VIEW cust_avg ASSELECT avg(age) FROM cust; CREATE VIEW cust_above_avg_age ASSELECT customerid ,substr(firstname, 1, 20) as fname ,substr(lastname, 1, 20) as lname ,age - (SELECT avg(age)::integer FROM cust) as years_above_avg FROM cust WHERE age > (SELECT avg(age) FROM cust); CREATE VIEW potential_spammers ASSELECT customerid FROM cust ORDER BY spam_score(firstname, lastname) DESCLIMIT 100;
Download
PostgreSQL 9 Administration Cookbook by Unknown.mobi
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.
Algorithms of the Intelligent Web by Haralambos Marmanis;Dmitry Babenko(8300)
Azure Data and AI Architect Handbook by Olivier Mertens & Breght Van Baelen(6743)
Building Statistical Models in Python by Huy Hoang Nguyen & Paul N Adams & Stuart J Miller(6718)
Serverless Machine Learning with Amazon Redshift ML by Debu Panda & Phil Bates & Bhanu Pittampally & Sumeet Joshi(6597)
Data Wrangling on AWS by Navnit Shukla | Sankar M | Sam Palani(6381)
Driving Data Quality with Data Contracts by Andrew Jones(6329)
Machine Learning Model Serving Patterns and Best Practices by Md Johirul Islam(6093)
Learning SQL by Alan Beaulieu(5995)
Weapons of Math Destruction by Cathy O'Neil(5779)
Big Data Analysis with Python by Ivan Marin(5365)
Data Engineering with dbt by Roberto Zagni(4363)
Solidity Programming Essentials by Ritesh Modi(4010)
Time Series Analysis with Python Cookbook by Tarek A. Atwan(3871)
Pandas Cookbook by Theodore Petrou(3579)
Blockchain Basics by Daniel Drescher(3294)
Hands-On Machine Learning for Algorithmic Trading by Stefan Jansen(2905)
Feature Store for Machine Learning by Jayanth Kumar M J(2814)
Learn T-SQL Querying by Pam Lahoud & Pedro Lopes(2796)
Mastering Python for Finance by Unknown(2744)
