Online transaction processing (OLTP):
see: Wikipedia:LINQ
Online analytical processing (OLAP):
see: https://www.pola.rs
SELECT column FROM table
FROM table SELECT column
query = """
select
a.name,
p.year,
p.title,
p.abstract,
p.paper_text
from authors a
inner join paper_authors pa on pa.author_id = a.id
left join papers p on p.id = pa.paper_id
and p.event_type not in ('Oral', 'Spotlight', 'Poster')
order by name, year asc
"""
pd.read_sql(query, con=con)
df_authors \
.merge(
df_papers_authors.drop(columns=["id"]),
left_on="id",
right_on="author_id",
how="inner") \
.drop(columns=["id"]) \
.merge(
df_papers \
.query("event_type in ('Oral', 'Spotlight', 'Poster')") \
[["id", "year", "title", "abstract", "paper_text"]],
left_on="paper_id",
right_on="id",
how="left") \
.drop(columns=["id", "paper_id", "author_id"]) \
.sort_values(by=["name", "year"], ascending=True)
SAP HANA is an OLTAP system
it is a column-oriented, in-memory database, that combines OLAP and OLTP operations into a single system