100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached
logo-home
Ejercicios resueltos $3.25   Add to cart

Interview

Ejercicios resueltos

 2 views  0 purchase
  • Course
  • Institution

Ejercicios resueltos de la asignatura Acceso a Datos

Preview 1 out of 3  pages

  • November 9, 2023
  • 3
  • 2023/2024
  • Interview
  • Unknown
  • Unknown
  • Secondary school
  • Bachillerato
  • Unknown
  • 2
avatar-seller
A CCESO A DATOS – T AREA 5

Los chicos de BK están aprendiendo a hacer componentes de acceso a datos. Están practicando

con los datos de la matrícula de los alumnos de la base de datos con la que has estado trabajando

durante esta unidad y necesitan que les eches una mano, en concreto te piden que hagas lo siguiente:


Ejercicio 1

Debes añadir una tabla a la base de datos alumnos que represente las matrículas de los alumnos.

Consta de los siguientes campos:

- DNI: varchar(9).

- NombreMódulo: varchar(60).

- Curso: varchar(5), el curso se forma con los dos años que lo componen separados por un guión,

por ejemplo 11-12.

- Nota: double.

Recuerda rellenar la tabla con algunos datos para que puedas hacer pruebas.



CREATE TABLE IF NOT EXISTS matriculas
(
DNI varchar(9) NOT NULL,
NombreModulo varchar(60) NOT NULL,
Curso varchar(5) NOT NULL,
Nota double NOT NULL,
PRIMARY KEY (DNI)
) DEFAULT CHARSET = latin1;



insert into matriculas
values ('12345678A', 'DAM', '20-21', 10),
('23456789B', 'DAW', '20-21', 9),
('14785236d', 'ASIR', '20-21', 5),
('96385274f', 'DAM', '20-21', 7);




1

The benefits of buying summaries with Stuvia:

Guaranteed quality through customer reviews

Guaranteed quality through customer reviews

Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.

Quick and easy check-out

Quick and easy check-out

You can quickly pay through credit card or Stuvia-credit for the summaries. There is no membership needed.

Focus on what matters

Focus on what matters

Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!

Frequently asked questions

What do I get when I buy this document?

You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.

Satisfaction guarantee: how does it work?

Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.

Who am I buying these notes from?

Stuvia is a marketplace, so you are not buying this document from us, but from seller estrellaelena. Stuvia facilitates payment to the seller.

Will I be stuck with a subscription?

No, you only buy these notes for $3.25. You're not tied to anything after your purchase.

Can Stuvia be trusted?

4.6 stars on Google & Trustpilot (+1000 reviews)

77254 documents were sold in the last 30 days

Founded in 2010, the go-to place to buy study notes for 14 years now

Start selling
$3.25
  • (0)
  Add to cart