COURSE OUTLINE
Databases for Business Analytics
1. General
School
Academic Unit
Level of Studies
Course code
Semester
Course Title
Idependent Teaching Activities
Weekly Teaching Hours
Credits
Course Type
Prerequite Courses
Language of Instruction and Examinations
Is the course offered to Erasmus Students?
Url (Eclass)
2. Learning Outcomes
Learning Outcomes
Upon successful completion of the course, the student will be able to:
- describe and design the structure of a relational database (tables, fields, data types, primary and foreign keys, integrity constraints).
- manage relational databases through SQL, specifically: (i) create objects, (ii) populate tables, (iii) update existing data and (iv) run queries using filters, aggregations, table joins, subqueries and views.
- estimate and interpret simple and multiple linear regression models, and carry out hypothesis tests and diagnostic tests (multicollinearity, heteroskedasticity, autocorrelation) on financial data.
- use the R language and RStudio to retrieve data directly from a relational database, process it (dplyr), visualise it and estimate econometric models.
- present data and results in Business Intelligence tools (Power BI) and spreadsheets (Excel).
- implement a complete end-to-end analysis workflow, from the database to well-founded business conclusions.
General Competences
Within the combined skills that graduates acquire through the full study programme, the course Databases and Business Analytics aims to develop the following competences:
- searching for, analysing and synthesising data and information, using the necessary technologies
- decision-making
- working independently
- project planning and management
- adapting to new situations
- promoting free, creative and inductive thinking
- criticism and self-criticism
3. Syllabus
Unit 1: SQL & Relational Databases
- What a relational database is and how it is structured
- Table schema, fields, data types and constraints
- Creating and managing tables with CREATE, ALTER, DROP
- Basic SQL statements: SELECT, WHERE, ORDER BY, DISTINCT, TOP/LIMIT
- Aggregate functions and grouping (GROUP BY, HAVING) – computing KPIs
- Table joins (INNER JOIN, LEFT JOIN, etc.)
- Subqueries (IN, EXISTS, ANY, ALL)
- Views for reporting
- Hands-on use of SQL Server Management Studio (SSMS)
Unit 2: Econometric Tools for Practical Applications
- What regression is and how it is used in economic analysis
- Estimation of simple and multiple linear regression
- Hypothesis testing and interpretation of results (p-values, R², t-tests, confidence intervals)
- Problems and diagnostic tests: multicollinearity, heteroskedasticity, autocorrelation
- Applying econometric models to financial data
Unit 3: Data Analysis with R and Business Intelligence
- Using RStudio for statistical and econometric analysis
- Connecting R to SQL Server (via DBI and odbc) and retrieving data directly from SQL tables
- Data processing with dplyr: filter(), select(), mutate(), summarise()
- Data visualisation with ggplot2 (histograms, line charts, scatter plots)
- Introduction to Power BI: connecting to SQL Server and building dynamic dashboards
- Excel for business analysis: pivot tables, XLOOKUP, SUMIFS, COUNTIFS
- Estimating and interpreting regression models with lm()
- Combining SQL and R for end-to-end analysis: from the SQL database to R, the analysis and the econometric conclusions – project presentations
4. Teaching and Learning Methods - Evaluation
Delivery
Use of Information and Communications Technology
- In teaching: lectures with electronic slides and live coding demonstrations.
- In laboratory training: each student uses SQL Server with SQL Server Management Studio, R with RStudio, Power BI Desktop and Excel on their own computer, working on the course’s shared stock-market database.
- Remote practice: weekly assignments on the DataCamp platform (the course’s DataCamp Classroom).
- In communication with students: eclass (materials, announcements, assignment submission) and email.
Teaching Methods
Activity
Semester Workload
Student Performance Evaluation
Language of evaluation: Greek.
- 60% Final written exam (theory & code): theory and short-answer questions, writing SQL queries and R code, problem solving and interpretation of econometric results.
- 40% Project – End-to-End Analytics Pipeline: a complete analysis workflow from the database (SQL) to R and econometric analysis, through to business conclusions. Students submit a written report and code, and present the project in class.
- Bonus points: completion of the weekly assignments on the DataCamp platform.
5. Attached Bibliography
Suggested Bibliography
- Lecture notes and slides, course SQL and R code (eclass).
- Elmasri, R., & Navathe, S. B. (2015). Fundamentals of Database Systems. Pearson.
- Wooldridge, J. M. (2015). Introductory Econometrics: A Modern Approach. Cengage Learning.
- Wickham, H., & Grolemund, G. (2016). R for Data Science. O’Reilly Media.