0% found this document useful (0 votes)
13 views20 pages

ECOMMERCE

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
13 views20 pages

ECOMMERCE

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 20

JAWAHAR NAVODAYA VIDYALAYA

MUKHLA

WEST JAINTIA HILLS

TOPIC – E COMMERCE

SUBMITTED BY GROUP (16)

NAME CLASS ROLLNO


EUNIKI SUCHIANG XII SC 13
FANCIFUL DHAR XII SC 14
HOSPI LANGSHIANG XII SC 15
INDEX

1 INTRODUCTION
2 FRONTEND
3 BACKEND
4 DATABASE CONNECTIVITY (JDBC)
5 PRIMARY KEY
6 SECONDARY KEY
7 NOT NULL
8 DEFAULT
9 CHECK
10 HTML
11 XML
12 WEB BROWSER
13 QUERY
14 CONCLUSION
CERTIFICATE

This is to certify that

1 EUNIKI SUCHIANG

2.FANCIFUL DHAR

3.HOSPI LANGSHIANG

Who has prepared a project based on E-commerce as a partial fulfilment for IP


practical AISSCE 2018 under my guidance. This project prepared by them is
satisfactory.

S.Kumar

PGT (IP
ACKNOWLEDGEMENT

First of all we express our sincere thank to Shri S.Kumar PGT (IP) who extended his
help and guidance us in every matter of this project work

We also thanks to our friends who help us in every aspect of this project work

We finally extend our sincere thank to our honourable Principal Sir R.k. Dixit
who support us in every field of education.
INTRODUCTION

E-commerce refers to the purchase and sale of goods and/or services via electronic
channels such as the internet. E-commerce was first introduced in the 1960s via an
electronic data interchange (EDI) on value-added networks (VANs). The medium
grew with the increased availability of internet access and the advent of popular
online sellers in the 1990s and early 2000s. Amazon began operating as a book-
shipping business in Jeff Bezos' garage in 1995. EBay, which enables consumers to
sell to each other online, introduced online auctions in 1995 and exploded with the
1997 Beanie Babies frenzy.

Like any digital technology or consumer-based purchasing market, e-commerce has


evolved over the years. As mobile devices became more popular, mobile commerce
has become its own market. With the rise of such sites as Facebook and Pinterest,
social media has become an important driver of e-commerce. As of 2014, Facebook
drove 85 percent of social media-originating sales on e-commerce platform Shopify,
per Paymill.

The changing market represents a vast opportunity for businesses to improve their
relevance and expand their market in the online world. Researchers predict e-
commerce will be 17 percent of U.S. retail sales by 2022, according to Digital
Commerce 360. The U.S. will spend about $460 billion online in 2017. These
figures will continue to climb as mobile and internet use expand both in the U.S. and
in developing markets around the world
ADVANTAGE OF ECOMMERCE

 More reach to customers, there is no theoretical geographic limitations.


 Low operational costs and better quality of services.
 No need of physical company set-ups.
 Easy to start and manage a business.

Customers can easily select Ecommerce offered many advantages to companies and
customers but it also caused many problems.

DISADVANTAGES OF ECOMMERCE

 Any one, good or bad, can easily start a business. And there are many bad
sites which eat up customers’ money.
 There is no guarantee of product quality.
 Mechanical failures can cause unpredictable effects on the total processes.
 As there is minimum chance of direct customer to company interactions,
customer loyalty is always on a check.
 There are many hackers who look for opportunities, and thus an ecommerce
site, service, payment gateways, all are always prone to attack
fRONTENd

In software engineering, the terms front end and back end refers to the separation of
concerns between the presentation layer (front end), and the data access layer (back
end) of a piece of software, or the physical infrastructure or hardware. In the client–
server model, the client is usually considered the front end and the server is usually
considered the back end, even when some presentation work is actually done on the
server.

BACKEND

A "back-end" application or program serves indirectly in support of the front-end


services, usually by being closer to the required resource or having the capability to
communicate with the required resource. The back-end application may interact
directly with the front-end or, perhaps more typically, is a program called from an
intermediate program that mediates front-end and back-end activities

DATABASE CONNECTIVITY JDBC

Java Database Connectivity (JDBC) is an application programming interface (API)


for the programming language Java, which defines how a client may access a
database. It is Java based data access technology and used for Java database
connectivity. It is part of the Java Standard Edition platform, from Oracle
Corporation. It provides methods to query and update data in a database, and

CONSTRAINT
column3 SQL Create Constraints
Constraints can be specified when the table is created with the CREATE TABLE
statement, or after the table is created with the ALTER TABLE statement.
Syntax
CREATE TABLE table_name (
column1 datatype constraint,
column2 datatype constraint,
datatype constraint,
....
);

1. Primary key
A primary key is a field in a table which uniquely identifies each row/record in a
database table. Primary keys must contain unique values. A primary key column
cannot have NULL values. A table can have only one primary key, which may
consist of single or multiple fields.

1. Secondary Key
A secondary key is a field that is identified as being suitable for indexing the data
such as a surname, It is used to sort the data in a different order to the primary key,
A table can have many secondary keys in fact every field could be a secondary key

FOREIGN KEY The SQL FOREIGN KEY CONSTRAINT is used to ensure the
referential integrity of the data in one table to match values in another table. The
FOREIGN KEY CONSTRAINT is a column or list of columns which points to the
PRIMARY KEY of another

Not-Null
By default, a column can hold NULL values. The NOT NULL constraint enforces a
column to NOT accept NULL values. This enforces a field to always contain a
value, which means that you cannot insert a new record, or update a record without
adding a value to this field.

The not-null constraint is a restriction placed on a column in a relational database


table. It enforces the condition that, in that column, every row of data must contain a
value - it cannot be left blank during insert or update operations. If this column is
left blank, this will produce an error message and the entire insert or update
operation will fail.

2. Default constraint
Default constraints are a special case of column defaults. A column default is some
value or function that the column will take when an INSERT statement doesn't
explicitly assign a particular value. In other words, the column default is what the
column will get as a value by defau

1. Check constrain The CHECK constraint is used to limit the value range that can be
placed in a column. If you define a CHECK constraint on a single column it allows
only certain values for this column. If you define a CHECK constraint on a table it
can limit the values in certain columns based on values in other columns in the row.

Hypertext Markup Language is the standard markup language for creating web
pages and web applications. With Cascading Style Sheets and JavaScript it forms a
triad of cornerstone technologies for the World Wide Web. Wikipedia
DATABASE DESIGN

Create table user


(
user_name varchar(20),
password varchar(20)
);

2 Create table product


(
Product_code varchar(10) primary key,
Product_name varchar(30) notnull,
Price number(10) notnull,
Qty number(10) notnull
);

3 Create table buyer


(
B_code number(10) primary key,
B_name varchar(20) notnull,
Address varchar(20) notnull
);
4 Create table seller
(
Sell_code number(20) primary key,
S_name varchar(20) notnull,
Address varchar(30) notnull
);

5 Create table order


(
Order_ no number(10) primary key,
Order_date date,
Prod_code varchar(10) foreign key
);

6 Create table payment


(
Sl_no varchar(20) primary key,
B_code varchar(20) foreign key,
Payment_mode varchar(20) not null,
Amount number(10) notnull
);
7 Create table transaction
(
Trans_no number(10) primary key,
B_code varchar(20) foreign key,
Sell_code number(20) foreign key
);

8 Create table shippers


(
Ship_code varchar(20) primary key,
Ship_name varchar(20) notnull,
Address varchar(30) notnull
);

9 Create table category


(
Prod_code varchar(20) foreign key,
Catname varchar(20) notnull
);
REPORT

<html>

<head>

<title>

Ecommerce

</title>

</head>

<body bgcolor=”pink” link=”green” alink=”blue” vlink=”red” >

<font face=”arial” color=”red”>

<H4 align=”centre”>ecommerce</H4></font>

<img src=”image2.jpg” align=”right”>

<font face=”arial” size=2>

Ecommerce (e-commerce) or electronic commerce, a subset of business ,is the

Purchasing selling and exchanging of goods and services over computer network

(such as internet) through which transaction or terms of sale are performed


electronically.

<table bordercolor=”blue” border=2 align =”centre”>

<caption><font color =”blue” size=2>ecommerce requirement</caption>

<tr>

<th bgcolor =”cyan”><font size=2>shopping carry</font></ht>

<ht bgcolor=”cyan”><=2> merchant account </font></ht>

</tr>
<tr>

<td><font size=2> processing gateway</font></td>

<td><font size =2>digital certificate </font></td>

</tr>

</table>

<p>

Ecommerce can be broken into four main categories:

<ul>

<li><a href=”b2b.html”>b2b</a> (business-to-business)

<li><a href =”b2c.html”>b2c</a>(business-to-consumer)

<li><a href=”c2b.html”>c2b</a> (consumer-to-business)

<li><a href =”c2c.html”>c2c</a>(consumer-to-consumer)

</ul>

<center><a href =”page1.html”>

<img src=”try1.gif” height =25 width =25><br>

Table of contents</a></center>

</font>

</body>

</html>
XML

. In computing, Extensible Markup Language is a markup language that defines a


set of rules for encoding documents in a format that is both human-readable and
machine-readable xml was design to store and transport data

Browser
A browser is an application program that provides a way to look at and interact with
all the information on the World Wide Web.

Some example of browser are

1 internet explorer

2 opera

3 google chrome

Conclusion
After careful observation, it has come to my conclusion that e-commerce has
undeniably become an important part of our society. The world wide web is and
will have a large part in our daily lives. It is therefore critical that small
businesses have their own to keep in competition with the larger websites. Since
web developers have lowered down the prices for their services, it has become
more affordable for small businesses to use the world wide web to sell their
products. Although there are negative aspects of e-commerce, small businesses
have tried to accommodate to the needs of the consumers. For example, one of
the negative aspects of e-commerce is that consumers lack the advice and
guidance of sellers, to accommodate that, they have customer service through
the phone of online to answer any questions. It is also important to note that e-
commerce does not benefit all small companies equally. How much revenue a
business gets from e-commerce depends on what kind of service it gives. For
example, most people would like to try on clothes before they buy them, so it
probably would not benefit a small business that sells clothes as much as a small
business that sells home supplies or specialty books. Nevertheless, e-commerce
does benefit any business even in small ways. This is why it is crucial to
understand how e-commerce affects small businesses because it is becoming
such a huge part of how society functions that it effects the economy greatly and
whatever happens to the economy affects us. This is why is it important to
understand this subject because in the long run, it will affect all of us

Query
Write sql command for the following

1 To list details of all product


Select * from product;

2 To show all information of products where price above 150


Select *from product
Where price >150;

3 To list details of all product where product name start with “A”
Select * from product
where product_name like “A%”;

4 To list product code, product name, category name (hint :use product and category
table)
Select product_code, product_name, catname from product, category
Where product.product_code=category.product;

5 To list details of all transaction


Select * from transaction;

6 To list details of product in the descending order of their name


Select * from product
Order by name desc;

7 To list details of all payment


Select * from payment;
8 To list ship_code, ship_name and Address of all shipper where ship_code S001
Select ship_code, ship_name, address from shippers
Where ship_code =”S001”;

9 To list order_no, prod_code, catname of all where catname is “baby toy”


Select prod_code catname from category
Where catname=baby toy;

10 To increase all the product price by 10%


Update product
Set price= price+10%;

11 To insert new row in the product table, value sare:


P098, formalshirt, 908, 567
Insert into product
Values(‘P098’,’formalshirt’, 908,567);
12. To list details of all buyer whose address ispune
Select * from buyer
Where address = pune;
13. To list seller code and address of all seller in the decending order of their name

Ans: select sell_code,address from seller

Order by s_name desc;

14. To list b_code, b_name, address, payment_mode and amount of all payment and
buyer

Ans: select b_code, b_name, address, payment_mode, amount

Where buyer.b_code= payment.b_code;


15. To list details of all order between 01/01/2017 and 10/10/2017

Ans; select * from order

Where date between 01/01/2017 and 10/10/2017;

16. To list details of all payment where amount is more than 25000

Ans: select * from payment

Where amount >25000;

17. To change the address of shippers as ‘Guwahati’ whose ship_code is S897

Ans: update shippers

Set address =’Guwahati’

Where ship_code = S897;

18. To add a new coloum contactno, datatype number, size 10 in the shippers table

Ans: alter table shippers

Add (contactno,number (10));

19. To increase 20 quantity in the product table

Ans: update product

Set qt=qt+20;

20. To delete row where payment amount less than 30

Ans: delete from payment

Where payment_mode <30;

BIBLIOGRAPHY
1. SUNITA ARORA
2. RITA SAHU
3. JAVA BLACK BOOK

You might also like